public static final class Cluster.RingHashLbConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder> implements Cluster.RingHashLbConfigOrBuilder
Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>` load balancing policy.Protobuf type
envoy.config.cluster.v3.Cluster.RingHashLbConfig| Modifier and Type | Method and Description |
|---|---|
Cluster.RingHashLbConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.RingHashLbConfig |
build() |
Cluster.RingHashLbConfig |
buildPartial() |
Cluster.RingHashLbConfig.Builder |
clear() |
Cluster.RingHashLbConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cluster.RingHashLbConfig.Builder |
clearHashFunction()
The hash function used to hash hosts onto the ketama ring.
|
Cluster.RingHashLbConfig.Builder |
clearMaximumRingSize()
Maximum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
clearMinimumRingSize()
Minimum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cluster.RingHashLbConfig.Builder |
clone() |
Cluster.RingHashLbConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Cluster.RingHashLbConfig.HashFunction |
getHashFunction()
The hash function used to hash hosts onto the ketama ring.
|
int |
getHashFunctionValue()
The hash function used to hash hosts onto the ketama ring.
|
com.google.protobuf.UInt64Value |
getMaximumRingSize()
Maximum hash ring size.
|
com.google.protobuf.UInt64Value.Builder |
getMaximumRingSizeBuilder()
Maximum hash ring size.
|
com.google.protobuf.UInt64ValueOrBuilder |
getMaximumRingSizeOrBuilder()
Maximum hash ring size.
|
com.google.protobuf.UInt64Value |
getMinimumRingSize()
Minimum hash ring size.
|
com.google.protobuf.UInt64Value.Builder |
getMinimumRingSizeBuilder()
Minimum hash ring size.
|
com.google.protobuf.UInt64ValueOrBuilder |
getMinimumRingSizeOrBuilder()
Minimum hash ring size.
|
boolean |
hasMaximumRingSize()
Maximum hash ring size.
|
boolean |
hasMinimumRingSize()
Minimum hash ring size.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cluster.RingHashLbConfig.Builder |
mergeFrom(Cluster.RingHashLbConfig other) |
Cluster.RingHashLbConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cluster.RingHashLbConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cluster.RingHashLbConfig.Builder |
mergeMaximumRingSize(com.google.protobuf.UInt64Value value)
Maximum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
mergeMinimumRingSize(com.google.protobuf.UInt64Value value)
Minimum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cluster.RingHashLbConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.RingHashLbConfig.Builder |
setHashFunction(Cluster.RingHashLbConfig.HashFunction value)
The hash function used to hash hosts onto the ketama ring.
|
Cluster.RingHashLbConfig.Builder |
setHashFunctionValue(int value)
The hash function used to hash hosts onto the ketama ring.
|
Cluster.RingHashLbConfig.Builder |
setMaximumRingSize(com.google.protobuf.UInt64Value.Builder builderForValue)
Maximum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
setMaximumRingSize(com.google.protobuf.UInt64Value value)
Maximum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
setMinimumRingSize(com.google.protobuf.UInt64Value.Builder builderForValue)
Minimum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
setMinimumRingSize(com.google.protobuf.UInt64Value value)
Minimum hash ring size.
|
Cluster.RingHashLbConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cluster.RingHashLbConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cluster.RingHashLbConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cluster.RingHashLbConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cluster.RingHashLbConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder mergeFrom(Cluster.RingHashLbConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public Cluster.RingHashLbConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.RingHashLbConfig.Builder>IOExceptionpublic boolean hasMinimumRingSize()
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }hasMinimumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic com.google.protobuf.UInt64Value getMinimumRingSize()
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }getMinimumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic Cluster.RingHashLbConfig.Builder setMinimumRingSize(com.google.protobuf.UInt64Value value)
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder setMinimumRingSize(com.google.protobuf.UInt64Value.Builder builderForValue)
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder mergeMinimumRingSize(com.google.protobuf.UInt64Value value)
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder clearMinimumRingSize()
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }public com.google.protobuf.UInt64Value.Builder getMinimumRingSizeBuilder()
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }public com.google.protobuf.UInt64ValueOrBuilder getMinimumRingSizeOrBuilder()
Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights. Defaults to 1024 entries, and limited to 8M entries. See also :ref:`maximum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`.
.google.protobuf.UInt64Value minimum_ring_size = 1 [(.validate.rules) = { ... }getMinimumRingSizeOrBuilder in interface Cluster.RingHashLbConfigOrBuilderpublic int getHashFunctionValue()
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }getHashFunctionValue in interface Cluster.RingHashLbConfigOrBuilderpublic Cluster.RingHashLbConfig.Builder setHashFunctionValue(int value)
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.HashFunction getHashFunction()
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }getHashFunction in interface Cluster.RingHashLbConfigOrBuilderpublic Cluster.RingHashLbConfig.Builder setHashFunction(Cluster.RingHashLbConfig.HashFunction value)
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder clearHashFunction()
The hash function used to hash hosts onto the ketama ring. The value defaults to :ref:`XX_HASH<envoy_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
.envoy.config.cluster.v3.Cluster.RingHashLbConfig.HashFunction hash_function = 3 [(.validate.rules) = { ... }public boolean hasMaximumRingSize()
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }hasMaximumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic com.google.protobuf.UInt64Value getMaximumRingSize()
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }getMaximumRingSize in interface Cluster.RingHashLbConfigOrBuilderpublic Cluster.RingHashLbConfig.Builder setMaximumRingSize(com.google.protobuf.UInt64Value value)
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder setMaximumRingSize(com.google.protobuf.UInt64Value.Builder builderForValue)
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder mergeMaximumRingSize(com.google.protobuf.UInt64Value value)
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }public Cluster.RingHashLbConfig.Builder clearMaximumRingSize()
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }public com.google.protobuf.UInt64Value.Builder getMaximumRingSizeBuilder()
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }public com.google.protobuf.UInt64ValueOrBuilder getMaximumRingSizeOrBuilder()
Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered to further constrain resource use. See also :ref:`minimum_ring_size<envoy_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`.
.google.protobuf.UInt64Value maximum_ring_size = 4 [(.validate.rules) = { ... }getMaximumRingSizeOrBuilder in interface Cluster.RingHashLbConfigOrBuilderpublic final Cluster.RingHashLbConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>public final Cluster.RingHashLbConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.RingHashLbConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.