Class Listener.ConnectionBalanceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
io.envoyproxy.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Listener.ConnectionBalanceConfigOrBuilder, Cloneable
- Enclosing class:
Listener.ConnectionBalanceConfig
public static final class Listener.ConnectionBalanceConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
implements Listener.ConnectionBalanceConfigOrBuilder
Configuration for listener connection balancing.Protobuf type
envoy.config.listener.v3.Listener.ConnectionBalanceConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Objectprivate intprivate intprivate com.google.protobuf.SingleFieldBuilder<Listener.ConnectionBalanceConfig.ExactBalance, Listener.ConnectionBalanceConfig.ExactBalance.Builder, Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidprivate voidclear()If specified, the listener will use the exact connection balancer.The listener will use the connection balancer according to ``type_url``.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf specified, the listener will use the exact connection balancer.If specified, the listener will use the exact connection balancer.If specified, the listener will use the exact connection balancer.The listener will use the connection balancer according to ``type_url``.The listener will use the connection balancer according to ``type_url``.The listener will use the connection balancer according to ``type_url``.booleanIf specified, the listener will use the exact connection balancer.booleanThe listener will use the connection balancer according to ``type_url``.private com.google.protobuf.SingleFieldBuilder<Listener.ConnectionBalanceConfig.ExactBalance, Listener.ConnectionBalanceConfig.ExactBalance.Builder, Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> If specified, the listener will use the exact connection balancer.private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> The listener will use the connection balancer according to ``type_url``.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanIf specified, the listener will use the exact connection balancer.The listener will use the connection balancer according to ``type_url``.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If specified, the listener will use the exact connection balancer.setExactBalance(Listener.ConnectionBalanceConfig.ExactBalance.Builder builderForValue) If specified, the listener will use the exact connection balancer.The listener will use the connection balancer according to ``type_url``.setExtendBalance(TypedExtensionConfig.Builder builderForValue) The listener will use the connection balancer according to ``type_url``.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, 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 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
-
Field Details
-
balanceTypeCase_
private int balanceTypeCase_ -
balanceType_
-
bitField0_
private int bitField0_ -
exactBalanceBuilder_
private com.google.protobuf.SingleFieldBuilder<Listener.ConnectionBalanceConfig.ExactBalance, Listener.ConnectionBalanceConfig.ExactBalance.Builder, Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> exactBalanceBuilder_ -
extendBalanceBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> extendBalanceBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.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.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.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
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
-
mergeFrom
public Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.Builder>- Throws:
IOException
-
getBalanceTypeCase
- Specified by:
getBalanceTypeCasein interfaceListener.ConnectionBalanceConfigOrBuilder
-
clearBalanceType
-
hasExactBalance
public boolean hasExactBalance()If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;- Specified by:
hasExactBalancein interfaceListener.ConnectionBalanceConfigOrBuilder- Returns:
- Whether the exactBalance field is set.
-
getExactBalance
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;- Specified by:
getExactBalancein interfaceListener.ConnectionBalanceConfigOrBuilder- Returns:
- The exactBalance.
-
setExactBalance
public Listener.ConnectionBalanceConfig.Builder setExactBalance(Listener.ConnectionBalanceConfig.ExactBalance value) If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
setExactBalance
public Listener.ConnectionBalanceConfig.Builder setExactBalance(Listener.ConnectionBalanceConfig.ExactBalance.Builder builderForValue) If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
mergeExactBalance
public Listener.ConnectionBalanceConfig.Builder mergeExactBalance(Listener.ConnectionBalanceConfig.ExactBalance value) If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
clearExactBalance
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
getExactBalanceBuilder
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
getExactBalanceOrBuilder
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;- Specified by:
getExactBalanceOrBuilderin interfaceListener.ConnectionBalanceConfigOrBuilder
-
internalGetExactBalanceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Listener.ConnectionBalanceConfig.ExactBalance, Listener.ConnectionBalanceConfig.ExactBalance.Builder, Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> internalGetExactBalanceFieldBuilder()If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1; -
hasExtendBalance
public boolean hasExtendBalance()The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;- Specified by:
hasExtendBalancein interfaceListener.ConnectionBalanceConfigOrBuilder- Returns:
- Whether the extendBalance field is set.
-
getExtendBalance
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;- Specified by:
getExtendBalancein interfaceListener.ConnectionBalanceConfigOrBuilder- Returns:
- The extendBalance.
-
setExtendBalance
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2; -
setExtendBalance
public Listener.ConnectionBalanceConfig.Builder setExtendBalance(TypedExtensionConfig.Builder builderForValue) The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2; -
mergeExtendBalance
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2; -
clearExtendBalance
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2; -
getExtendBalanceBuilder
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2; -
getExtendBalanceOrBuilder
The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;- Specified by:
getExtendBalanceOrBuilderin interfaceListener.ConnectionBalanceConfigOrBuilder
-
internalGetExtendBalanceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> internalGetExtendBalanceFieldBuilder()The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid, Envoy will not attempt to balance active connections between worker threads. [#extension-category: envoy.network.connection_balance]
.envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
-