Class ConsistentHashingLbConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
io.envoyproxy.envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConsistentHashingLbConfigOrBuilder,Cloneable
- Enclosing class:
- ConsistentHashingLbConfig
public static final class ConsistentHashingLbConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
implements ConsistentHashingLbConfigOrBuilder
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Protobuf type
envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies to use for ring hash load balancing.addHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.addHashPolicy(RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.addHashPolicyBuilder(int index) Specifies a list of hash policies to use for ring hash load balancing.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Configures percentage of average cluster load to bound per upstream host.Specifies a list of hash policies to use for ring hash load balancing.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.UInt32ValueConfigures percentage of average cluster load to bound per upstream host.com.google.protobuf.UInt32Value.BuilderConfigures percentage of average cluster load to bound per upstream host.com.google.protobuf.UInt32ValueOrBuilderConfigures percentage of average cluster load to bound per upstream host.getHashPolicy(int index) Specifies a list of hash policies to use for ring hash load balancing.getHashPolicyBuilder(int index) Specifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.intSpecifies a list of hash policies to use for ring hash load balancing.Specifies a list of hash policies to use for ring hash load balancing.getHashPolicyOrBuilder(int index) Specifies a list of hash policies to use for ring hash load balancing.List<? extends RouteAction.HashPolicyOrBuilder>Specifies a list of hash policies to use for ring hash load balancing.booleanIf set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.booleanConfigures percentage of average cluster load to bound per upstream host.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHashBalanceFactor(com.google.protobuf.UInt32Value value) Configures percentage of average cluster load to bound per upstream host.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHashPolicy(int index) Specifies a list of hash policies to use for ring hash load balancing.setHashBalanceFactor(com.google.protobuf.UInt32Value value) Configures percentage of average cluster load to bound per upstream host.setHashBalanceFactor(com.google.protobuf.UInt32Value.Builder builderForValue) Configures percentage of average cluster load to bound per upstream host.setHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies to use for ring hash load balancing.setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseHostnameForHashing(boolean value) If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ConsistentHashingLbConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
setField
public ConsistentHashingLbConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
clearField
public ConsistentHashingLbConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
clearOneof
public ConsistentHashingLbConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
setRepeatedField
public ConsistentHashingLbConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
addRepeatedField
public ConsistentHashingLbConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConsistentHashingLbConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
mergeFrom
public ConsistentHashingLbConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConsistentHashingLbConfig.Builder>- Throws:
IOException
-
getUseHostnameForHashing
public boolean getUseHostnameForHashing()If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address.
bool use_hostname_for_hashing = 1;- Specified by:
getUseHostnameForHashingin interfaceConsistentHashingLbConfigOrBuilder- Returns:
- The useHostnameForHashing.
-
setUseHostnameForHashing
If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address.
bool use_hostname_for_hashing = 1;- Parameters:
value- The useHostnameForHashing to set.- Returns:
- This builder for chaining.
-
clearUseHostnameForHashing
If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address.
bool use_hostname_for_hashing = 1;- Returns:
- This builder for chaining.
-
hasHashBalanceFactor
public boolean hasHashBalanceFactor()Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... }- Specified by:
hasHashBalanceFactorin interfaceConsistentHashingLbConfigOrBuilder- Returns:
- Whether the hashBalanceFactor field is set.
-
getHashBalanceFactor
public com.google.protobuf.UInt32Value getHashBalanceFactor()Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... }- Specified by:
getHashBalanceFactorin interfaceConsistentHashingLbConfigOrBuilder- Returns:
- The hashBalanceFactor.
-
setHashBalanceFactor
public ConsistentHashingLbConfig.Builder setHashBalanceFactor(com.google.protobuf.UInt32Value value) Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... } -
setHashBalanceFactor
public ConsistentHashingLbConfig.Builder setHashBalanceFactor(com.google.protobuf.UInt32Value.Builder builderForValue) Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... } -
mergeHashBalanceFactor
public ConsistentHashingLbConfig.Builder mergeHashBalanceFactor(com.google.protobuf.UInt32Value value) Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... } -
clearHashBalanceFactor
Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... } -
getHashBalanceFactorBuilder
public com.google.protobuf.UInt32Value.Builder getHashBalanceFactorBuilder()Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... } -
getHashBalanceFactorOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getHashBalanceFactorOrBuilder()Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. Minimum is 100. Applies to both Ring Hash and Maglev load balancers. This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified ``hash_balance_factor``, requests to any upstream host are capped at ``hash_balance_factor/100`` times the average number of requests across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the cascading overflow effect when choosing the next host in the ring/table). If weights are specified on the hosts, they are respected. This is an O(N) algorithm, unlike other load balancers. Using a lower ``hash_balance_factor`` results in more hosts being probed, so use a higher value if you require better performance.
.google.protobuf.UInt32Value hash_balance_factor = 2 [(.validate.rules) = { ... }- Specified by:
getHashBalanceFactorOrBuilderin interfaceConsistentHashingLbConfigOrBuilder
-
getHashPolicyList
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3;- Specified by:
getHashPolicyListin interfaceConsistentHashingLbConfigOrBuilder
-
getHashPolicyCount
public int getHashPolicyCount()Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3;- Specified by:
getHashPolicyCountin interfaceConsistentHashingLbConfigOrBuilder
-
getHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3;- Specified by:
getHashPolicyin interfaceConsistentHashingLbConfigOrBuilder
-
setHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
setHashPolicy
public ConsistentHashingLbConfig.Builder setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addHashPolicy
public ConsistentHashingLbConfig.Builder addHashPolicy(RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addHashPolicy
public ConsistentHashingLbConfig.Builder addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addAllHashPolicy
public ConsistentHashingLbConfig.Builder addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
clearHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
removeHashPolicy
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
getHashPolicyBuilder
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
getHashPolicyOrBuilder
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3;- Specified by:
getHashPolicyOrBuilderin interfaceConsistentHashingLbConfigOrBuilder
-
getHashPolicyOrBuilderList
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3;- Specified by:
getHashPolicyOrBuilderListin interfaceConsistentHashingLbConfigOrBuilder
-
addHashPolicyBuilder
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
addHashPolicyBuilder
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
getHashPolicyBuilderList
Specifies a list of hash policies to use for ring hash load balancing. If ``hash_policy`` is set, then :ref:`route level hash policy <envoy_v3_api_field_config.route.v3.RouteAction.hash_policy>` will be ignored.
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 3; -
setUnknownFields
public final ConsistentHashingLbConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-
mergeUnknownFields
public final ConsistentHashingLbConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsistentHashingLbConfig.Builder>
-