Class Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder,Cloneable
- Enclosing class:
- Cluster.CommonLbConfig.ConsistentHashingLbConfig
public static final class Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder> implements Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
Protobuf typeenvoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cluster.CommonLbConfig.ConsistentHashingLbConfigbuild()Cluster.CommonLbConfig.ConsistentHashingLbConfigbuildPartial()Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builderclear()Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuilderclearHashBalanceFactor()Configures percentage of average cluster load to bound per upstream host.Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuilderclearUseHostnameForHashing()If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builderclone()Cluster.CommonLbConfig.ConsistentHashingLbConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetHashBalanceFactor()Configures percentage of average cluster load to bound per upstream host.com.google.protobuf.UInt32Value.BuildergetHashBalanceFactorBuilder()Configures percentage of average cluster load to bound per upstream host.com.google.protobuf.UInt32ValueOrBuildergetHashBalanceFactorOrBuilder()Configures percentage of average cluster load to bound per upstream host.booleangetUseHostnameForHashing()If set to ``true``, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.booleanhasHashBalanceFactor()Configures percentage of average cluster load to bound per upstream host.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildermergeFrom(com.google.protobuf.Message other)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildermergeFrom(Cluster.CommonLbConfig.ConsistentHashingLbConfig other)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildermergeHashBalanceFactor(com.google.protobuf.UInt32Value value)Configures percentage of average cluster load to bound per upstream host.Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetHashBalanceFactor(com.google.protobuf.UInt32Value value)Configures percentage of average cluster load to bound per upstream host.Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetHashBalanceFactor(com.google.protobuf.UInt32Value.Builder builderForValue)Configures percentage of average cluster load to bound per upstream host.Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cluster.CommonLbConfig.ConsistentHashingLbConfig.BuildersetUseHostnameForHashing(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
clear
public Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
getDefaultInstanceForType
public Cluster.CommonLbConfig.ConsistentHashingLbConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster.CommonLbConfig.ConsistentHashingLbConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster.CommonLbConfig.ConsistentHashingLbConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
setField
public Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
clearField
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
clearOneof
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
setRepeatedField
public Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
addRepeatedField
public Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
mergeFrom
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
mergeFrom
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder mergeFrom(Cluster.CommonLbConfig.ConsistentHashingLbConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
mergeFrom
public Cluster.CommonLbConfig.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<Cluster.CommonLbConfig.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 interfaceCluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder- Returns:
- The useHostnameForHashing.
-
setUseHostnameForHashing
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder 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. 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
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder 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 interfaceCluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder- 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 interfaceCluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder- Returns:
- The hashBalanceFactor.
-
setHashBalanceFactor
public Cluster.CommonLbConfig.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 Cluster.CommonLbConfig.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 Cluster.CommonLbConfig.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
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder 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 interfaceCluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
-
setUnknownFields
public final Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
mergeUnknownFields
public final Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder>
-
-