Package com.google.cloud.compute.v1
Class CircuitBreakers
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class CircuitBreakers
extends com.google.protobuf.GeneratedMessage
implements CircuitBreakersOrBuilder
Settings controlling the volume of requests, connections and retries to this backend service.Protobuf type
google.cloud.compute.v1.CircuitBreakers- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSettings controlling the volume of requests, connections and retries to this backend service.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CircuitBreakersstatic final com.google.protobuf.Descriptors.DescriptorintThe maximum number of connections to the backend service.intThe maximum number of pending requests allowed to the backend service.intThe maximum number of parallel requests that allowed to the backend service.intMaximum requests for a single connection to the backend service.intThe maximum number of parallel retries allowed to the backend cluster.com.google.protobuf.Parser<CircuitBreakers>intinthashCode()booleanThe maximum number of connections to the backend service.booleanThe maximum number of pending requests allowed to the backend service.booleanThe maximum number of parallel requests that allowed to the backend service.booleanMaximum requests for a single connection to the backend service.booleanThe maximum number of parallel retries allowed to the backend cluster.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CircuitBreakers.Builderstatic CircuitBreakers.BuildernewBuilder(CircuitBreakers prototype) protected CircuitBreakers.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CircuitBreakersparseDelimitedFrom(InputStream input) static CircuitBreakersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CircuitBreakersparseFrom(byte[] data) static CircuitBreakersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CircuitBreakersparseFrom(com.google.protobuf.ByteString data) static CircuitBreakersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CircuitBreakersparseFrom(com.google.protobuf.CodedInputStream input) static CircuitBreakersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CircuitBreakersparseFrom(InputStream input) static CircuitBreakersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CircuitBreakersparseFrom(ByteBuffer data) static CircuitBreakersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CircuitBreakers>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAX_CONNECTIONS_FIELD_NUMBER
public static final int MAX_CONNECTIONS_FIELD_NUMBER- See Also:
-
MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int MAX_PENDING_REQUESTS_FIELD_NUMBER- See Also:
-
MAX_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_FIELD_NUMBER- See Also:
-
MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER- See Also:
-
MAX_RETRIES_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
hasMaxConnectionsin 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:
getMaxConnectionsin 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:
hasMaxPendingRequestsin 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:
getMaxPendingRequestsin 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:
hasMaxRequestsin 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:
getMaxRequestsin 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:
hasMaxRequestsPerConnectionin 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:
getMaxRequestsPerConnectionin 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:
hasMaxRetriesin 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:
getMaxRetriesin interfaceCircuitBreakersOrBuilder- Returns:
- The maxRetries.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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
- Throws:
IOException
-
parseFrom
public static CircuitBreakers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CircuitBreakers.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-