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 type
google.cloud.compute.v1.CircuitBreakers| Modifier and Type | Class and Description |
|---|---|
static class |
CircuitBreakers.Builder
Settings controlling the volume of requests, connections and retries to this backend service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and 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 |
| Modifier and Type | Method and 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() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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(ByteBuffer data) |
static CircuitBreakers |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<CircuitBreakers> |
parser() |
CircuitBreakers.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MAX_CONNECTIONS_FIELD_NUMBER
public static final int MAX_PENDING_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_FIELD_NUMBER
public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
public static final int MAX_RETRIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasMaxConnections in interface CircuitBreakersOrBuilderpublic 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;getMaxConnections in interface CircuitBreakersOrBuilderpublic 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;hasMaxPendingRequests in interface CircuitBreakersOrBuilderpublic 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;getMaxPendingRequests in interface CircuitBreakersOrBuilderpublic 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;hasMaxRequests in interface CircuitBreakersOrBuilderpublic 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;getMaxRequests in interface CircuitBreakersOrBuilderpublic 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;hasMaxRequestsPerConnection in interface CircuitBreakersOrBuilderpublic 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;getMaxRequestsPerConnection in interface CircuitBreakersOrBuilderpublic 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;hasMaxRetries in interface CircuitBreakersOrBuilderpublic 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;getMaxRetries in interface CircuitBreakersOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CircuitBreakers parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakers parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakers parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakers parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreakers.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CircuitBreakers.Builder newBuilder()
public static CircuitBreakers.Builder newBuilder(CircuitBreakers prototype)
public CircuitBreakers.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CircuitBreakers.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CircuitBreakers getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreakers> parser()
public com.google.protobuf.Parser<CircuitBreakers> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CircuitBreakers getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.