Package io.envoyproxy.envoy.api.v2
Interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.LbSubsetConfig.LbSubsetSelector,Cluster.LbSubsetConfig.LbSubsetSelector.Builder
- Enclosing class:
- Cluster.LbSubsetConfig
public static interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFallbackKeysSubset(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.ByteStringgetFallbackKeysSubsetBytes(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.intgetFallbackKeysSubsetCount()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.List<String>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.LbSubsetSelectorFallbackPolicygetFallbackPolicy()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.StringgetKeys(int index)List of keys to match with the weighted cluster metadata.com.google.protobuf.ByteStringgetKeysBytes(int index)List of keys to match with the weighted cluster metadata.intgetKeysCount()List of keys to match with the weighted cluster metadata.List<String>getKeysList()List of keys to match with the weighted cluster metadata.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKeysList
List<String> getKeysList()
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;
-
getKeysCount
int getKeysCount()
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;
-
getKeys
String getKeys(int index)
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;
-
getKeysBytes
com.google.protobuf.ByteString getKeysBytes(int index)
List of keys to match with the weighted cluster metadata.
repeated string keys = 1;
-
getFallbackPolicyValue
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) = { ... }
-
getFallbackPolicy
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) = { ... }
-
getFallbackKeysSubsetList
List<String> 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;
-
getFallbackKeysSubsetCount
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;
-
getFallbackKeysSubset
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;
-
getFallbackKeysSubsetBytes
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;
-
-