public static final class Cluster.CommonLbConfig.ZoneAwareLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder
Configuration for :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>`.Protobuf type
envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder
Configuration for :ref:`zone aware routing
<arch_overview_load_balancing_zone_aware_routing>`.
|
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 |
FAIL_TRAFFIC_ON_PANIC_FIELD_NUMBER |
static int |
MIN_CLUSTER_SIZE_FIELD_NUMBER |
static int |
ROUTING_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
getDefaultInstance() |
Cluster.CommonLbConfig.ZoneAwareLbConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFailTrafficOnPanic()
If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic
mode<arch_overview_load_balancing_panic_threshold>`.
|
com.google.protobuf.UInt64Value |
getMinClusterSize()
Configures minimum upstream cluster size required for zone aware routing
If upstream cluster size is less than specified, zone aware routing is not performed
even if zone aware routing is configured.
|
com.google.protobuf.UInt64ValueOrBuilder |
getMinClusterSizeOrBuilder()
Configures minimum upstream cluster size required for zone aware routing
If upstream cluster size is less than specified, zone aware routing is not performed
even if zone aware routing is configured.
|
com.google.protobuf.Parser<Cluster.CommonLbConfig.ZoneAwareLbConfig> |
getParserForType() |
Percent |
getRoutingEnabled()
Configures percentage of requests that will be considered for zone aware routing
if zone aware routing is configured.
|
PercentOrBuilder |
getRoutingEnabledOrBuilder()
Configures percentage of requests that will be considered for zone aware routing
if zone aware routing is configured.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMinClusterSize()
Configures minimum upstream cluster size required for zone aware routing
If upstream cluster size is less than specified, zone aware routing is not performed
even if zone aware routing is configured.
|
boolean |
hasRoutingEnabled()
Configures percentage of requests that will be considered for zone aware routing
if zone aware routing is configured.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder |
newBuilder() |
static Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder |
newBuilder(Cluster.CommonLbConfig.ZoneAwareLbConfig prototype) |
Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder |
newBuilderForType() |
protected Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseDelimitedFrom(InputStream input) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(byte[] data) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(ByteBuffer data) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(InputStream input) |
static Cluster.CommonLbConfig.ZoneAwareLbConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster.CommonLbConfig.ZoneAwareLbConfig> |
parser() |
Cluster.CommonLbConfig.ZoneAwareLbConfig.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, 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 ROUTING_ENABLED_FIELD_NUMBER
public static final int MIN_CLUSTER_SIZE_FIELD_NUMBER
public static final int FAIL_TRAFFIC_ON_PANIC_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 hasRoutingEnabled()
Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured. If not specified, the default is 100%. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.envoy.type.v3.Percent routing_enabled = 1;hasRoutingEnabled in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic Percent getRoutingEnabled()
Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured. If not specified, the default is 100%. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.envoy.type.v3.Percent routing_enabled = 1;getRoutingEnabled in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic PercentOrBuilder getRoutingEnabledOrBuilder()
Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured. If not specified, the default is 100%. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.envoy.type.v3.Percent routing_enabled = 1;getRoutingEnabledOrBuilder in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic boolean hasMinClusterSize()
Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured. If not specified, the default is 6. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt64Value min_cluster_size = 2;hasMinClusterSize in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic com.google.protobuf.UInt64Value getMinClusterSize()
Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured. If not specified, the default is 6. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt64Value min_cluster_size = 2;getMinClusterSize in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic com.google.protobuf.UInt64ValueOrBuilder getMinClusterSizeOrBuilder()
Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured. If not specified, the default is 6. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt64Value min_cluster_size = 2;getMinClusterSizeOrBuilder in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic boolean getFailTrafficOnPanic()
If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic mode<arch_overview_load_balancing_panic_threshold>`. Instead, the cluster will fail all requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a failing service.
bool fail_traffic_on_panic = 3;getFailTrafficOnPanic in interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilderpublic 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 Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig.ZoneAwareLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder newBuilder()
public static Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder newBuilder(Cluster.CommonLbConfig.ZoneAwareLbConfig prototype)
public Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster.CommonLbConfig.ZoneAwareLbConfig getDefaultInstance()
public static com.google.protobuf.Parser<Cluster.CommonLbConfig.ZoneAwareLbConfig> parser()
public com.google.protobuf.Parser<Cluster.CommonLbConfig.ZoneAwareLbConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster.CommonLbConfig.ZoneAwareLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.