public static final class CircuitBreaker.CircuitBreakers.Thresholds extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreaker.CircuitBreakers.ThresholdsOrBuilder
A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`.Protobuf type
envoy.api.v2.cluster.CircuitBreakers.Thresholds| Modifier and Type | Class and Description |
|---|---|
static class |
CircuitBreaker.CircuitBreakers.Thresholds.Builder
A Thresholds defines CircuitBreaker settings for a
:ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`.
|
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| 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_RETRIES_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CircuitBreaker.CircuitBreakers.Thresholds |
getDefaultInstance() |
CircuitBreaker.CircuitBreakers.Thresholds |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.UInt32Value |
getMaxConnections()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConnectionsOrBuilder()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
com.google.protobuf.UInt32Value |
getMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxPendingRequestsOrBuilder()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32Value |
getMaxRequests()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRequestsOrBuilder()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
com.google.protobuf.UInt32Value |
getMaxRetries()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxRetriesOrBuilder()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
com.google.protobuf.Parser<CircuitBreaker.CircuitBreakers.Thresholds> |
getParserForType() |
Base.RoutingPriority |
getPriority()
The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`
the specified CircuitBreaker settings apply to.
|
int |
getPriorityValue()
The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>`
the specified CircuitBreaker settings apply to.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMaxConnections()
The maximum number of connections that Envoy will make to the upstream
cluster.
|
boolean |
hasMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the
upstream cluster.
|
boolean |
hasMaxRequests()
The maximum number of parallel requests that Envoy will make to the
upstream cluster.
|
boolean |
hasMaxRetries()
The maximum number of parallel retries that Envoy will allow to the
upstream cluster.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CircuitBreaker.CircuitBreakers.Thresholds.Builder |
newBuilder() |
static CircuitBreaker.CircuitBreakers.Thresholds.Builder |
newBuilder(CircuitBreaker.CircuitBreakers.Thresholds prototype) |
CircuitBreaker.CircuitBreakers.Thresholds.Builder |
newBuilderForType() |
protected CircuitBreaker.CircuitBreakers.Thresholds.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseDelimitedFrom(InputStream input) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(byte[] data) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(ByteBuffer data) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.ByteString data) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(InputStream input) |
static CircuitBreaker.CircuitBreakers.Thresholds |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CircuitBreaker.CircuitBreakers.Thresholds> |
parser() |
CircuitBreaker.CircuitBreakers.Thresholds.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 PRIORITY_FIELD_NUMBER
public 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_RETRIES_FIELD_NUMBER
public 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 int getPriorityValue()
The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>` the specified CircuitBreaker settings apply to. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 1;getPriorityValue in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic Base.RoutingPriority getPriority()
The :ref:`RoutingPriority<envoy_api_enum_core.RoutingPriority>` the specified CircuitBreaker settings apply to. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 1;getPriority in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;hasMaxConnections in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxConnections()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;getMaxConnections in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxConnectionsOrBuilder()
The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_connections = 2;getMaxConnectionsOrBuilder in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;hasMaxPendingRequests in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxPendingRequests()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;getMaxPendingRequests in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxPendingRequestsOrBuilder()
The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_pending_requests = 3;getMaxPendingRequestsOrBuilder in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;hasMaxRequests in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxRequests()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;getMaxRequests in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxRequestsOrBuilder()
The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_requests = 4;getMaxRequestsOrBuilder in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic boolean hasMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;hasMaxRetries in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32Value getMaxRetries()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;getMaxRetries in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxRetriesOrBuilder()
The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.
.google.protobuf.UInt32Value max_retries = 5;getMaxRetriesOrBuilder in interface CircuitBreaker.CircuitBreakers.ThresholdsOrBuilderpublic 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 CircuitBreaker.CircuitBreakers.Thresholds parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreaker.CircuitBreakers.Thresholds parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreaker.CircuitBreakers.Thresholds.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CircuitBreaker.CircuitBreakers.Thresholds.Builder newBuilder()
public static CircuitBreaker.CircuitBreakers.Thresholds.Builder newBuilder(CircuitBreaker.CircuitBreakers.Thresholds prototype)
public CircuitBreaker.CircuitBreakers.Thresholds.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CircuitBreaker.CircuitBreakers.Thresholds.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CircuitBreaker.CircuitBreakers.Thresholds getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreaker.CircuitBreakers.Thresholds> parser()
public com.google.protobuf.Parser<CircuitBreaker.CircuitBreakers.Thresholds> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CircuitBreaker.CircuitBreakers.Thresholds getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.