public static final class Cluster.LbSubsetConfig.LbSubsetSelector extends com.google.protobuf.GeneratedMessageV3 implements Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
Specifications for subsets.Protobuf type
envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.LbSubsetConfig.LbSubsetSelector.Builder
Specifications for subsets.
|
static class |
Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy
Allows to override top level fallback policy per selector.
|
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 |
FALLBACK_KEYS_SUBSET_FIELD_NUMBER |
static int |
FALLBACK_POLICY_FIELD_NUMBER |
static int |
KEYS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
getDefaultInstance() |
Cluster.LbSubsetConfig.LbSubsetSelector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFallbackKeysSubset(int index)
Subset of
:ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by
:ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>`
fallback policy.
|
com.google.protobuf.ByteString |
getFallbackKeysSubsetBytes(int index)
Subset of
:ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by
:ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>`
fallback policy.
|
int |
getFallbackKeysSubsetCount()
Subset of
:ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by
:ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>`
fallback policy.
|
com.google.protobuf.ProtocolStringList |
getFallbackKeysSubsetList()
Subset of
:ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by
:ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>`
fallback policy.
|
Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy |
getFallbackPolicy()
The behavior used when no endpoint subset matches the selected route's
metadata.
|
int |
getFallbackPolicyValue()
The behavior used when no endpoint subset matches the selected route's
metadata.
|
String |
getKeys(int index)
List of keys to match with the weighted cluster metadata.
|
com.google.protobuf.ByteString |
getKeysBytes(int index)
List of keys to match with the weighted cluster metadata.
|
int |
getKeysCount()
List of keys to match with the weighted cluster metadata.
|
com.google.protobuf.ProtocolStringList |
getKeysList()
List of keys to match with the weighted cluster metadata.
|
com.google.protobuf.Parser<Cluster.LbSubsetConfig.LbSubsetSelector> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cluster.LbSubsetConfig.LbSubsetSelector.Builder |
newBuilder() |
static Cluster.LbSubsetConfig.LbSubsetSelector.Builder |
newBuilder(Cluster.LbSubsetConfig.LbSubsetSelector prototype) |
Cluster.LbSubsetConfig.LbSubsetSelector.Builder |
newBuilderForType() |
protected Cluster.LbSubsetConfig.LbSubsetSelector.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseDelimitedFrom(InputStream input) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(byte[] data) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(ByteBuffer data) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(InputStream input) |
static Cluster.LbSubsetConfig.LbSubsetSelector |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster.LbSubsetConfig.LbSubsetSelector> |
parser() |
Cluster.LbSubsetConfig.LbSubsetSelector.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 KEYS_FIELD_NUMBER
public static final int FALLBACK_POLICY_FIELD_NUMBER
public static final int FALLBACK_KEYS_SUBSET_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 com.google.protobuf.ProtocolStringList getKeysList()
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;getKeysList in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic int getKeysCount()
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;getKeysCount in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic String getKeys(int index)
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;getKeys in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic com.google.protobuf.ByteString getKeysBytes(int index)
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;getKeysBytes in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic int getFallbackPolicyValue()
The behavior used when no endpoint subset matches the selected route's metadata.
.envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy fallback_policy = 2 [(.validate.rules) = { ... }getFallbackPolicyValue in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy getFallbackPolicy()
The behavior used when no endpoint subset matches the selected route's metadata.
.envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy fallback_policy = 2 [(.validate.rules) = { ... }getFallbackPolicy in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic com.google.protobuf.ProtocolStringList getFallbackKeysSubsetList()
Subset of :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by :ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` fallback policy. It has to be a non empty list if KEYS_SUBSET fallback policy is selected. For any other fallback policy the parameter is not used and should not be set. Only values also present in :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` are allowed, but `fallback_keys_subset` cannot be equal to `keys`.
repeated string fallback_keys_subset = 3;getFallbackKeysSubsetList in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic int getFallbackKeysSubsetCount()
Subset of :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by :ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` fallback policy. It has to be a non empty list if KEYS_SUBSET fallback policy is selected. For any other fallback policy the parameter is not used and should not be set. Only values also present in :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` are allowed, but `fallback_keys_subset` cannot be equal to `keys`.
repeated string fallback_keys_subset = 3;getFallbackKeysSubsetCount in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic String getFallbackKeysSubset(int index)
Subset of :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by :ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` fallback policy. It has to be a non empty list if KEYS_SUBSET fallback policy is selected. For any other fallback policy the parameter is not used and should not be set. Only values also present in :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` are allowed, but `fallback_keys_subset` cannot be equal to `keys`.
repeated string fallback_keys_subset = 3;getFallbackKeysSubset in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic com.google.protobuf.ByteString getFallbackKeysSubsetBytes(int index)
Subset of :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by :ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` fallback policy. It has to be a non empty list if KEYS_SUBSET fallback policy is selected. For any other fallback policy the parameter is not used and should not be set. Only values also present in :ref:`keys<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.keys>` are allowed, but `fallback_keys_subset` cannot be equal to `keys`.
repeated string fallback_keys_subset = 3;getFallbackKeysSubsetBytes in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilderpublic 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.LbSubsetConfig.LbSubsetSelector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster.LbSubsetConfig.LbSubsetSelector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.LbSubsetConfig.LbSubsetSelector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.LbSubsetConfig.LbSubsetSelector.Builder newBuilder()
public static Cluster.LbSubsetConfig.LbSubsetSelector.Builder newBuilder(Cluster.LbSubsetConfig.LbSubsetSelector prototype)
public Cluster.LbSubsetConfig.LbSubsetSelector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.LbSubsetConfig.LbSubsetSelector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster.LbSubsetConfig.LbSubsetSelector getDefaultInstance()
public static com.google.protobuf.Parser<Cluster.LbSubsetConfig.LbSubsetSelector> parser()
public com.google.protobuf.Parser<Cluster.LbSubsetConfig.LbSubsetSelector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster.LbSubsetConfig.LbSubsetSelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.