Class Cluster.MaglevLbConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.MaglevLbConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cluster.MaglevLbConfigOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Cluster.MaglevLbConfig
public static final class Cluster.MaglevLbConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder> implements Cluster.MaglevLbConfigOrBuilder
Specific configuration for the :ref:`Maglev<arch_overview_load_balancing_types_maglev>` load balancing policy.
Protobuf typeenvoy.config.cluster.v3.Cluster.MaglevLbConfig
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private com.google.protobuf.UInt64Value
tableSize_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder>
tableSizeBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster.MaglevLbConfig
build()
Cluster.MaglevLbConfig
buildPartial()
private void
buildPartial0(Cluster.MaglevLbConfig result)
Cluster.MaglevLbConfig.Builder
clear()
Cluster.MaglevLbConfig.Builder
clearTableSize()
The table size for Maglev hashing.Cluster.MaglevLbConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.UInt64Value
getTableSize()
The table size for Maglev hashing.com.google.protobuf.UInt64Value.Builder
getTableSizeBuilder()
The table size for Maglev hashing.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder>
getTableSizeFieldBuilder()
The table size for Maglev hashing.com.google.protobuf.UInt64ValueOrBuilder
getTableSizeOrBuilder()
The table size for Maglev hashing.boolean
hasTableSize()
The table size for Maglev hashing.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Cluster.MaglevLbConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Cluster.MaglevLbConfig.Builder
mergeFrom(com.google.protobuf.Message other)
Cluster.MaglevLbConfig.Builder
mergeFrom(Cluster.MaglevLbConfig other)
Cluster.MaglevLbConfig.Builder
mergeTableSize(com.google.protobuf.UInt64Value value)
The table size for Maglev hashing.Cluster.MaglevLbConfig.Builder
setTableSize(com.google.protobuf.UInt64Value value)
The table size for Maglev hashing.Cluster.MaglevLbConfig.Builder
setTableSize(com.google.protobuf.UInt64Value.Builder builderForValue)
The table size for Maglev hashing.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
tableSize_
private com.google.protobuf.UInt64Value tableSize_
-
tableSizeBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder> tableSizeBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Cluster.MaglevLbConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
getDefaultInstanceForType
public Cluster.MaglevLbConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster.MaglevLbConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster.MaglevLbConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Cluster.MaglevLbConfig result)
-
mergeFrom
public Cluster.MaglevLbConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
mergeFrom
public Cluster.MaglevLbConfig.Builder mergeFrom(Cluster.MaglevLbConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.MaglevLbConfig.Builder>
-
mergeFrom
public Cluster.MaglevLbConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.MaglevLbConfig.Builder>
- Throws:
java.io.IOException
-
hasTableSize
public boolean hasTableSize()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
- Specified by:
hasTableSize
in interfaceCluster.MaglevLbConfigOrBuilder
- Returns:
- Whether the tableSize field is set.
-
getTableSize
public com.google.protobuf.UInt64Value getTableSize()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
- Specified by:
getTableSize
in interfaceCluster.MaglevLbConfigOrBuilder
- Returns:
- The tableSize.
-
setTableSize
public Cluster.MaglevLbConfig.Builder setTableSize(com.google.protobuf.UInt64Value value)
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
setTableSize
public Cluster.MaglevLbConfig.Builder setTableSize(com.google.protobuf.UInt64Value.Builder builderForValue)
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
mergeTableSize
public Cluster.MaglevLbConfig.Builder mergeTableSize(com.google.protobuf.UInt64Value value)
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
clearTableSize
public Cluster.MaglevLbConfig.Builder clearTableSize()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
getTableSizeBuilder
public com.google.protobuf.UInt64Value.Builder getTableSizeBuilder()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
getTableSizeOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getTableSizeOrBuilder()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
- Specified by:
getTableSizeOrBuilder
in interfaceCluster.MaglevLbConfigOrBuilder
-
getTableSizeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt64Value,com.google.protobuf.UInt64Value.Builder,com.google.protobuf.UInt64ValueOrBuilder> getTableSizeFieldBuilder()
The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same upstream as it was before. Increasing the table size reduces the amount of disruption. The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
.google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
-
-