Uses of Class
io.envoyproxy.envoy.extensions.load_balancing_policies.subset.v3.Subset.Builder
Packages that use Subset.Builder
-
Uses of Subset.Builder in io.envoyproxy.envoy.extensions.load_balancing_policies.subset.v3
Methods in io.envoyproxy.envoy.extensions.load_balancing_policies.subset.v3 that return Subset.BuilderModifier and TypeMethodDescriptionSubset.Builder.addAllSubsetSelectors(Iterable<? extends Subset.LbSubsetSelector> values) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Subset.Builder.addSubsetSelectors(int index, Subset.LbSubsetSelector value) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.addSubsetSelectors(int index, Subset.LbSubsetSelector.Builder builderForValue) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.addSubsetSelectors(Subset.LbSubsetSelector value) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.addSubsetSelectors(Subset.LbSubsetSelector.Builder builderForValue) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.clear()Subset.Builder.clearAllowRedundantKeys()By default, only when the request metadata has exactly the **same** keys as one of subset selectors and the values of the related keys are matched, the load balancer will have a valid subset for the request.Subset.Builder.clearDefaultSubset()Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_v3_api_enum_value_extensions.load_balancing_policies.subset.v3.Subset.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.Subset.Builder.clearFallbackPolicy()The behavior used when no endpoint subset matches the selected route's metadata.Subset.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Subset.Builder.clearListAsAny()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.Subset.Builder.clearLocalityWeightAware()If true, routing to subsets will take into account the localities and locality weights of the endpoints when making the routing decision.Subset.Builder.clearMetadataFallbackPolicy()Fallback mechanism that allows to try different route metadata until a host is found.Subset.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Subset.Builder.clearPanicModeAny()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.Subset.Builder.clearScaleLocalityWeight()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.Subset.Builder.clearSubsetLbPolicy()The child LB policy to create for endpoint-picking within the chosen subset.Subset.Builder.clearSubsetSelectors()For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.clone()Subset.Builder.mergeDefaultSubset(com.google.protobuf.Struct value) Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_v3_api_enum_value_extensions.load_balancing_policies.subset.v3.Subset.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.Subset.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Subset.Builder.mergeFrom(com.google.protobuf.Message other) Subset.Builder.mergeSubsetLbPolicy(LoadBalancingPolicy value) The child LB policy to create for endpoint-picking within the chosen subset.final Subset.BuilderSubset.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static Subset.BuilderSubset.newBuilder()static Subset.BuilderSubset.newBuilder(Subset prototype) Subset.newBuilderForType()protected Subset.BuilderSubset.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) Subset.Builder.removeSubsetSelectors(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.Subset.Builder.setAllowRedundantKeys(boolean value) By default, only when the request metadata has exactly the **same** keys as one of subset selectors and the values of the related keys are matched, the load balancer will have a valid subset for the request.Subset.Builder.setDefaultSubset(com.google.protobuf.Struct value) Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_v3_api_enum_value_extensions.load_balancing_policies.subset.v3.Subset.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.Subset.Builder.setDefaultSubset(com.google.protobuf.Struct.Builder builderForValue) Specifies the default subset of endpoints used during fallback if fallback_policy is :ref:`DEFAULT_SUBSET<envoy_v3_api_enum_value_extensions.load_balancing_policies.subset.v3.Subset.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.Subset.Builder.setFallbackPolicy(Subset.LbSubsetFallbackPolicy value) The behavior used when no endpoint subset matches the selected route's metadata.Subset.Builder.setFallbackPolicyValue(int value) The behavior used when no endpoint subset matches the selected route's metadata.Subset.Builder.setListAsAny(boolean value) 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.Subset.Builder.setLocalityWeightAware(boolean value) If true, routing to subsets will take into account the localities and locality weights of the endpoints when making the routing decision.Subset.Builder.setMetadataFallbackPolicy(Subset.LbSubsetMetadataFallbackPolicy value) Fallback mechanism that allows to try different route metadata until a host is found.Subset.Builder.setMetadataFallbackPolicyValue(int value) Fallback mechanism that allows to try different route metadata until a host is found.Subset.Builder.setPanicModeAny(boolean value) 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.Subset.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Subset.Builder.setScaleLocalityWeight(boolean value) 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.Subset.Builder.setSubsetLbPolicy(LoadBalancingPolicy value) The child LB policy to create for endpoint-picking within the chosen subset.Subset.Builder.setSubsetLbPolicy(LoadBalancingPolicy.Builder builderForValue) The child LB policy to create for endpoint-picking within the chosen subset.Subset.Builder.setSubsetSelectors(int index, Subset.LbSubsetSelector value) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.Subset.Builder.setSubsetSelectors(int index, Subset.LbSubsetSelector.Builder builderForValue) For each entry, LbEndpoint.Metadata's ``envoy.lb`` namespace is traversed and a subset is created for each unique combination of key and value.final Subset.BuilderSubset.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Subset.toBuilder()