Package com.google.cloud.compute.v1
Class CircuitBreakers
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.CircuitBreakers
-
- All Implemented Interfaces:
CircuitBreakersOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class CircuitBreakers extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreakersOrBuilder
Settings controlling the volume of requests, connections and retries to this backend service.
Protobuf typegoogle.cloud.compute.v1.CircuitBreakers
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CircuitBreakers.Builder
Settings controlling the volume of requests, connections and retries to this backend service.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_CONNECTIONS_FIELD_NUMBER
static int
MAX_PENDING_REQUESTS_FIELD_NUMBER
static int
MAX_REQUESTS_FIELD_NUMBER
static int
MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
static int
MAX_RETRIES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static CircuitBreakers
getDefaultInstance()
CircuitBreakers
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getMaxConnections()
The maximum number of connections to the backend service.int
getMaxPendingRequests()
The maximum number of pending requests allowed to the backend service.int
getMaxRequests()
The maximum number of parallel requests that allowed to the backend service.int
getMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service.int
getMaxRetries()
The maximum number of parallel retries allowed to the backend cluster.com.google.protobuf.Parser<CircuitBreakers>
getParserForType()
int
getSerializedSize()
int
hashCode()
boolean
hasMaxConnections()
The maximum number of connections to the backend service.boolean
hasMaxPendingRequests()
The maximum number of pending requests allowed to the backend service.boolean
hasMaxRequests()
The maximum number of parallel requests that allowed to the backend service.boolean
hasMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service.boolean
hasMaxRetries()
The maximum number of parallel retries allowed to the backend cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static CircuitBreakers.Builder
newBuilder()
static CircuitBreakers.Builder
newBuilder(CircuitBreakers prototype)
CircuitBreakers.Builder
newBuilderForType()
protected CircuitBreakers.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CircuitBreakers
parseDelimitedFrom(InputStream input)
static CircuitBreakers
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CircuitBreakers
parseFrom(byte[] data)
static CircuitBreakers
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CircuitBreakers
parseFrom(com.google.protobuf.ByteString data)
static CircuitBreakers
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CircuitBreakers
parseFrom(com.google.protobuf.CodedInputStream input)
static CircuitBreakers
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CircuitBreakers
parseFrom(InputStream input)
static CircuitBreakers
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CircuitBreakers
parseFrom(ByteBuffer data)
static CircuitBreakers
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CircuitBreakers>
parser()
CircuitBreakers.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MAX_CONNECTIONS_FIELD_NUMBER
public static final int MAX_CONNECTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int MAX_PENDING_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RETRIES_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasMaxConnections
public boolean hasMaxConnections()
The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
- Specified by:
hasMaxConnections
in interfaceCircuitBreakersOrBuilder
- Returns:
- Whether the maxConnections field is set.
-
getMaxConnections
public int getMaxConnections()
The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_connections = 110652154;
- Specified by:
getMaxConnections
in interfaceCircuitBreakersOrBuilder
- Returns:
- The maxConnections.
-
hasMaxPendingRequests
public boolean hasMaxPendingRequests()
The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
- Specified by:
hasMaxPendingRequests
in interfaceCircuitBreakersOrBuilder
- Returns:
- Whether the maxPendingRequests field is set.
-
getMaxPendingRequests
public int getMaxPendingRequests()
The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_pending_requests = 375558887;
- Specified by:
getMaxPendingRequests
in interfaceCircuitBreakersOrBuilder
- Returns:
- The maxPendingRequests.
-
hasMaxRequests
public boolean hasMaxRequests()
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
- Specified by:
hasMaxRequests
in interfaceCircuitBreakersOrBuilder
- Returns:
- Whether the maxRequests field is set.
-
getMaxRequests
public int getMaxRequests()
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
optional int32 max_requests = 28097599;
- Specified by:
getMaxRequests
in interfaceCircuitBreakersOrBuilder
- Returns:
- The maxRequests.
-
hasMaxRequestsPerConnection
public boolean hasMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
- Specified by:
hasMaxRequestsPerConnection
in interfaceCircuitBreakersOrBuilder
- Returns:
- Whether the maxRequestsPerConnection field is set.
-
getMaxRequestsPerConnection
public int getMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_requests_per_connection = 361630528;
- Specified by:
getMaxRequestsPerConnection
in interfaceCircuitBreakersOrBuilder
- Returns:
- The maxRequestsPerConnection.
-
hasMaxRetries
public boolean hasMaxRetries()
The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
- Specified by:
hasMaxRetries
in interfaceCircuitBreakersOrBuilder
- Returns:
- Whether the maxRetries field is set.
-
getMaxRetries
public int getMaxRetries()
The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional int32 max_retries = 55546219;
- Specified by:
getMaxRetries
in interfaceCircuitBreakersOrBuilder
- Returns:
- The maxRetries.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CircuitBreakers parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CircuitBreakers parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CircuitBreakers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CircuitBreakers parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CircuitBreakers parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CircuitBreakers.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CircuitBreakers.Builder newBuilder()
-
newBuilder
public static CircuitBreakers.Builder newBuilder(CircuitBreakers prototype)
-
toBuilder
public CircuitBreakers.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CircuitBreakers.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CircuitBreakers getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CircuitBreakers> parser()
-
getParserForType
public com.google.protobuf.Parser<CircuitBreakers> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CircuitBreakers getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-