Class Cluster.LbSubsetConfig.LbSubsetSelector.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.LbSubsetConfig.LbSubsetSelector.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.LbSubsetConfig.LbSubsetSelector.Builder>
      • getDefaultInstanceForType

        public Cluster.LbSubsetConfig.LbSubsetSelector getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Cluster.LbSubsetConfig.LbSubsetSelector build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Cluster.LbSubsetConfig.LbSubsetSelector buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.LbSubsetConfig.LbSubsetSelector.Builder>
      • getFallbackPolicyValue

        public 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) = { ... }
        Specified by:
        getFallbackPolicyValue in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
      • setFallbackPolicyValue

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder setFallbackPolicyValue​(int value)
         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) = { ... }
      • clearFallbackPolicy

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder clearFallbackPolicy()
         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

        public 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;
        Specified by:
        getFallbackKeysSubsetList in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
      • getFallbackKeysSubsetCount

        public 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;
        Specified by:
        getFallbackKeysSubsetCount in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
      • getFallbackKeysSubset

        public 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;
        Specified by:
        getFallbackKeysSubset in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
      • getFallbackKeysSubsetBytes

        public 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;
        Specified by:
        getFallbackKeysSubsetBytes in interface Cluster.LbSubsetConfig.LbSubsetSelectorOrBuilder
      • setFallbackKeysSubset

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder setFallbackKeysSubset​(int index,
                                                                                     String value)
         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;
      • addFallbackKeysSubset

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder addFallbackKeysSubset​(String value)
         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;
      • addAllFallbackKeysSubset

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder addAllFallbackKeysSubset​(Iterable<String> values)
         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;
      • clearFallbackKeysSubset

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder clearFallbackKeysSubset()
         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;
      • addFallbackKeysSubsetBytes

        public Cluster.LbSubsetConfig.LbSubsetSelector.Builder addFallbackKeysSubsetBytes​(com.google.protobuf.ByteString value)
         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;