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 Object
private int
private int
private 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 void
private void
clear()
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.Descriptor
com.google.protobuf.Descriptors.Descriptor
If specified, the listener will use the exact connection balancer.If specified, the listener will use the exact connection balancer.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.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``.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> The listener will use the connection balancer according to ``type_url``.The listener will use the connection balancer according to ``type_url``.boolean
If specified, the listener will use the exact connection balancer.boolean
The listener will use the connection balancer according to ``type_url``.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
If 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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, exactBalanceBuilder_Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> -
extendBalanceBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, extendBalanceBuilder_TypedExtensionConfigOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
- Throws:
IOException
-
getBalanceTypeCase
- Specified by:
getBalanceTypeCase
in 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:
hasExactBalance
in 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:
getExactBalance
in 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:
getExactBalanceOrBuilder
in interfaceListener.ConnectionBalanceConfigOrBuilder
-
getExactBalanceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Listener.ConnectionBalanceConfig.ExactBalance,Listener.ConnectionBalanceConfig.ExactBalance.Builder, getExactBalanceFieldBuilder()Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder> 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:
hasExtendBalance
in 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:
getExtendBalance
in 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:
getExtendBalanceOrBuilder
in interfaceListener.ConnectionBalanceConfigOrBuilder
-
getExtendBalanceFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, getExtendBalanceFieldBuilder()TypedExtensionConfigOrBuilder> 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;
-