Package io.envoyproxy.envoy.api.v2
Class Cluster.LbSubsetConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.Cluster.LbSubsetConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cluster.LbSubsetConfigOrBuilder,Serializable
- Enclosing class:
- Cluster
public static final class Cluster.LbSubsetConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.LbSubsetConfigOrBuilder
Optionally divide the endpoints in this cluster into subsets defined by endpoint metadata and selected by route and weighted cluster metadata. [#next-free-field: 8]
Protobuf typeenvoy.api.v2.Cluster.LbSubsetConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCluster.LbSubsetConfig.BuilderOptionally divide the endpoints in this cluster into subsets defined by endpoint metadata and selected by route and weighted cluster metadata.static classCluster.LbSubsetConfig.LbSubsetFallbackPolicyIf NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.static classCluster.LbSubsetConfig.LbSubsetSelectorSpecifications for subsets.static interfaceCluster.LbSubsetConfig.LbSubsetSelectorOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_SUBSET_FIELD_NUMBERstatic intFALLBACK_POLICY_FIELD_NUMBERstatic intLIST_AS_ANY_FIELD_NUMBERstatic intLOCALITY_WEIGHT_AWARE_FIELD_NUMBERstatic intPANIC_MODE_ANY_FIELD_NUMBERstatic intSCALE_LOCALITY_WEIGHT_FIELD_NUMBERstatic intSUBSET_SELECTORS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Cluster.LbSubsetConfiggetDefaultInstance()Cluster.LbSubsetConfiggetDefaultInstanceForType()com.google.protobuf.StructgetDefaultSubset()Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.com.google.protobuf.StructOrBuildergetDefaultSubsetOrBuilder()Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Cluster.LbSubsetConfig.LbSubsetFallbackPolicygetFallbackPolicy()The behavior used when no endpoint subset matches the selected route's metadata.intgetFallbackPolicyValue()The behavior used when no endpoint subset matches the selected route's metadata.booleangetListAsAny()If true, metadata specified for a metadata key will be matched against the corresponding endpoint metadata if the endpoint metadata matches the value exactly OR it is a list value and any of the elements in the list matches the criteria.booleangetLocalityWeightAware()If true, routing to subsets will take into account the localities and locality weights of the endpoints when making the routing decision.booleangetPanicModeAny()If true, when a fallback policy is configured and its corresponding subset fails to find a host this will cause any host to be selected instead.com.google.protobuf.Parser<Cluster.LbSubsetConfig>getParserForType()booleangetScaleLocalityWeight()When used with locality_weight_aware, scales the weight of each locality by the ratio of hosts in the subset vs hosts in the original subset.intgetSerializedSize()Cluster.LbSubsetConfig.LbSubsetSelectorgetSubsetSelectors(int index)For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value.intgetSubsetSelectorsCount()For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value.List<Cluster.LbSubsetConfig.LbSubsetSelector>getSubsetSelectorsList()For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value.Cluster.LbSubsetConfig.LbSubsetSelectorOrBuildergetSubsetSelectorsOrBuilder(int index)For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value.List<? extends Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder>getSubsetSelectorsOrBuilderList()For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDefaultSubset()Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Cluster.LbSubsetConfig.BuildernewBuilder()static Cluster.LbSubsetConfig.BuildernewBuilder(Cluster.LbSubsetConfig prototype)Cluster.LbSubsetConfig.BuildernewBuilderForType()protected Cluster.LbSubsetConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Cluster.LbSubsetConfigparseDelimitedFrom(InputStream input)static Cluster.LbSubsetConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.LbSubsetConfigparseFrom(byte[] data)static Cluster.LbSubsetConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.LbSubsetConfigparseFrom(com.google.protobuf.ByteString data)static Cluster.LbSubsetConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.LbSubsetConfigparseFrom(com.google.protobuf.CodedInputStream input)static Cluster.LbSubsetConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.LbSubsetConfigparseFrom(InputStream input)static Cluster.LbSubsetConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.LbSubsetConfigparseFrom(ByteBuffer data)static Cluster.LbSubsetConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Cluster.LbSubsetConfig>parser()Cluster.LbSubsetConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FALLBACK_POLICY_FIELD_NUMBER
public static final int FALLBACK_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_SUBSET_FIELD_NUMBER
public static final int DEFAULT_SUBSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSET_SELECTORS_FIELD_NUMBER
public static final int SUBSET_SELECTORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_WEIGHT_AWARE_FIELD_NUMBER
public static final int LOCALITY_WEIGHT_AWARE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCALE_LOCALITY_WEIGHT_FIELD_NUMBER
public static final int SCALE_LOCALITY_WEIGHT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PANIC_MODE_ANY_FIELD_NUMBER
public static final int PANIC_MODE_ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIST_AS_ANY_FIELD_NUMBER
public static final int LIST_AS_ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFallbackPolicyValue
public int getFallbackPolicyValue()
The behavior used when no endpoint subset matches the selected route's metadata. The value defaults to :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
.envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetFallbackPolicy fallback_policy = 1 [(.validate.rules) = { ... }- Specified by:
getFallbackPolicyValuein interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The enum numeric value on the wire for fallbackPolicy.
-
getFallbackPolicy
public Cluster.LbSubsetConfig.LbSubsetFallbackPolicy getFallbackPolicy()
The behavior used when no endpoint subset matches the selected route's metadata. The value defaults to :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
.envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetFallbackPolicy fallback_policy = 1 [(.validate.rules) = { ... }- Specified by:
getFallbackPolicyin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The fallbackPolicy.
-
hasDefaultSubset
public boolean hasDefaultSubset()
Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`. Each field in default_subset is compared to the matching LbEndpoint.Metadata under the *envoy.lb* namespace. It is valid for no hosts to match, in which case the behavior is the same as a fallback_policy of :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
.google.protobuf.Struct default_subset = 2;- Specified by:
hasDefaultSubsetin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- Whether the defaultSubset field is set.
-
getDefaultSubset
public com.google.protobuf.Struct getDefaultSubset()
Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`. Each field in default_subset is compared to the matching LbEndpoint.Metadata under the *envoy.lb* namespace. It is valid for no hosts to match, in which case the behavior is the same as a fallback_policy of :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
.google.protobuf.Struct default_subset = 2;- Specified by:
getDefaultSubsetin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The defaultSubset.
-
getDefaultSubsetOrBuilder
public com.google.protobuf.StructOrBuilder getDefaultSubsetOrBuilder()
Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`. Each field in default_subset is compared to the matching LbEndpoint.Metadata under the *envoy.lb* namespace. It is valid for no hosts to match, in which case the behavior is the same as a fallback_policy of :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
.google.protobuf.Struct default_subset = 2;- Specified by:
getDefaultSubsetOrBuilderin interfaceCluster.LbSubsetConfigOrBuilder
-
getSubsetSelectorsList
public List<Cluster.LbSubsetConfig.LbSubsetSelector> getSubsetSelectorsList()
For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value. For example: .. code-block:: json { "subset_selectors": [ { "keys": [ "version" ] }, { "keys": [ "stage", "hardware_type" ] } ]} A subset is matched when the metadata from the selected route and weighted cluster contains the same keys and values as the subset's metadata. The same host may appear in multiple subsets.repeated .envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector subset_selectors = 3;- Specified by:
getSubsetSelectorsListin interfaceCluster.LbSubsetConfigOrBuilder
-
getSubsetSelectorsOrBuilderList
public List<? extends Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder> getSubsetSelectorsOrBuilderList()
For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value. For example: .. code-block:: json { "subset_selectors": [ { "keys": [ "version" ] }, { "keys": [ "stage", "hardware_type" ] } ]} A subset is matched when the metadata from the selected route and weighted cluster contains the same keys and values as the subset's metadata. The same host may appear in multiple subsets.repeated .envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector subset_selectors = 3;- Specified by:
getSubsetSelectorsOrBuilderListin interfaceCluster.LbSubsetConfigOrBuilder
-
getSubsetSelectorsCount
public int getSubsetSelectorsCount()
For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value. For example: .. code-block:: json { "subset_selectors": [ { "keys": [ "version" ] }, { "keys": [ "stage", "hardware_type" ] } ]} A subset is matched when the metadata from the selected route and weighted cluster contains the same keys and values as the subset's metadata. The same host may appear in multiple subsets.repeated .envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector subset_selectors = 3;- Specified by:
getSubsetSelectorsCountin interfaceCluster.LbSubsetConfigOrBuilder
-
getSubsetSelectors
public Cluster.LbSubsetConfig.LbSubsetSelector getSubsetSelectors(int index)
For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value. For example: .. code-block:: json { "subset_selectors": [ { "keys": [ "version" ] }, { "keys": [ "stage", "hardware_type" ] } ]} A subset is matched when the metadata from the selected route and weighted cluster contains the same keys and values as the subset's metadata. The same host may appear in multiple subsets.repeated .envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector subset_selectors = 3;- Specified by:
getSubsetSelectorsin interfaceCluster.LbSubsetConfigOrBuilder
-
getSubsetSelectorsOrBuilder
public Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder getSubsetSelectorsOrBuilder(int index)
For each entry, LbEndpoint.Metadata's *envoy.lb* namespace is traversed and a subset is created for each unique combination of key and value. For example: .. code-block:: json { "subset_selectors": [ { "keys": [ "version" ] }, { "keys": [ "stage", "hardware_type" ] } ]} A subset is matched when the metadata from the selected route and weighted cluster contains the same keys and values as the subset's metadata. The same host may appear in multiple subsets.repeated .envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector subset_selectors = 3;- Specified by:
getSubsetSelectorsOrBuilderin interfaceCluster.LbSubsetConfigOrBuilder
-
getLocalityWeightAware
public boolean getLocalityWeightAware()
If true, routing to subsets will take into account the localities and locality weights of the endpoints when making the routing decision. There are some potential pitfalls associated with enabling this feature, as the resulting traffic split after applying both a subset match and locality weights might be undesirable. Consider for example a situation in which you have 50/50 split across two localities X/Y which have 100 hosts each without subsetting. If the subset LB results in X having only 1 host selected but Y having 100, then a lot more load is being dumped on the single host in X than originally anticipated in the load balancing assignment delivered via EDS.
bool locality_weight_aware = 4;- Specified by:
getLocalityWeightAwarein interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The localityWeightAware.
-
getScaleLocalityWeight
public boolean getScaleLocalityWeight()
When used with locality_weight_aware, scales the weight of each locality by the ratio of hosts in the subset vs hosts in the original subset. This aims to even out the load going to an individual locality if said locality is disproportionately affected by the subset predicate.
bool scale_locality_weight = 5;- Specified by:
getScaleLocalityWeightin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The scaleLocalityWeight.
-
getPanicModeAny
public boolean getPanicModeAny()
If true, when a fallback policy is configured and its corresponding subset fails to find a host this will cause any host to be selected instead. This is useful when using the default subset as the fallback policy, given the default subset might become empty. With this option enabled, if that happens the LB will attempt to select a host from the entire cluster.
bool panic_mode_any = 6;- Specified by:
getPanicModeAnyin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The panicModeAny.
-
getListAsAny
public boolean getListAsAny()
If true, metadata specified for a metadata key will be matched against the corresponding endpoint metadata if the endpoint metadata matches the value exactly OR it is a list value and any of the elements in the list matches the criteria.
bool list_as_any = 7;- Specified by:
getListAsAnyin interfaceCluster.LbSubsetConfigOrBuilder- Returns:
- The listAsAny.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 Cluster.LbSubsetConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.LbSubsetConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.LbSubsetConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.LbSubsetConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Cluster.LbSubsetConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Cluster.LbSubsetConfig.Builder newBuilder()
-
newBuilder
public static Cluster.LbSubsetConfig.Builder newBuilder(Cluster.LbSubsetConfig prototype)
-
toBuilder
public Cluster.LbSubsetConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cluster.LbSubsetConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Cluster.LbSubsetConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Cluster.LbSubsetConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<Cluster.LbSubsetConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Cluster.LbSubsetConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-