Class UpstreamConnectionOptions.HappyEyeballsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder,java.lang.Cloneable
- Enclosing class:
- UpstreamConnectionOptions.HappyEyeballsConfig
public static final class UpstreamConnectionOptions.HappyEyeballsConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder> implements UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder
Protobuf typeenvoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.UInt32ValuefirstAddressFamilyCount_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>firstAddressFamilyCountBuilder_private intfirstAddressFamilyVersion_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamConnectionOptions.HappyEyeballsConfigbuild()UpstreamConnectionOptions.HappyEyeballsConfigbuildPartial()private voidbuildPartial0(UpstreamConnectionOptions.HappyEyeballsConfig result)UpstreamConnectionOptions.HappyEyeballsConfig.Builderclear()UpstreamConnectionOptions.HappyEyeballsConfig.BuilderclearFirstAddressFamilyCount()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.UpstreamConnectionOptions.HappyEyeballsConfig.BuilderclearFirstAddressFamilyVersion()Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.UpstreamConnectionOptions.HappyEyeballsConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetFirstAddressFamilyCount()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.com.google.protobuf.UInt32Value.BuildergetFirstAddressFamilyCountBuilder()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>getFirstAddressFamilyCountFieldBuilder()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.com.google.protobuf.UInt32ValueOrBuildergetFirstAddressFamilyCountOrBuilder()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.UpstreamConnectionOptions.FirstAddressFamilyVersiongetFirstAddressFamilyVersion()Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.intgetFirstAddressFamilyVersionValue()Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.booleanhasFirstAddressFamilyCount()Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()UpstreamConnectionOptions.HappyEyeballsConfig.BuildermergeFirstAddressFamilyCount(com.google.protobuf.UInt32Value value)Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.UpstreamConnectionOptions.HappyEyeballsConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpstreamConnectionOptions.HappyEyeballsConfig.BuildermergeFrom(com.google.protobuf.Message other)UpstreamConnectionOptions.HappyEyeballsConfig.BuildermergeFrom(UpstreamConnectionOptions.HappyEyeballsConfig other)UpstreamConnectionOptions.HappyEyeballsConfig.BuildersetFirstAddressFamilyCount(com.google.protobuf.UInt32Value value)Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.UpstreamConnectionOptions.HappyEyeballsConfig.BuildersetFirstAddressFamilyCount(com.google.protobuf.UInt32Value.Builder builderForValue)Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.UpstreamConnectionOptions.HappyEyeballsConfig.BuildersetFirstAddressFamilyVersion(UpstreamConnectionOptions.FirstAddressFamilyVersion value)Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.UpstreamConnectionOptions.HappyEyeballsConfig.BuildersetFirstAddressFamilyVersionValue(int value)Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.-
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_
-
firstAddressFamilyVersion_
private int firstAddressFamilyVersion_
-
firstAddressFamilyCount_
private com.google.protobuf.UInt32Value firstAddressFamilyCount_
-
firstAddressFamilyCountBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> firstAddressFamilyCountBuilder_
-
-
Method Detail
-
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<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public UpstreamConnectionOptions.HappyEyeballsConfig.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<UpstreamConnectionOptions.HappyEyeballsConfig.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<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
-
getDefaultInstanceForType
public UpstreamConnectionOptions.HappyEyeballsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpstreamConnectionOptions.HappyEyeballsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpstreamConnectionOptions.HappyEyeballsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(UpstreamConnectionOptions.HappyEyeballsConfig result)
-
mergeFrom
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
-
mergeFrom
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder mergeFrom(UpstreamConnectionOptions.HappyEyeballsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
-
mergeFrom
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>- Throws:
java.io.IOException
-
getFirstAddressFamilyVersionValue
public int getFirstAddressFamilyVersionValue()
Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.
.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1;- Specified by:
getFirstAddressFamilyVersionValuein interfaceUpstreamConnectionOptions.HappyEyeballsConfigOrBuilder- Returns:
- The enum numeric value on the wire for firstAddressFamilyVersion.
-
setFirstAddressFamilyVersionValue
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder setFirstAddressFamilyVersionValue(int value)
Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.
.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1;- Parameters:
value- The enum numeric value on the wire for firstAddressFamilyVersion to set.- Returns:
- This builder for chaining.
-
getFirstAddressFamilyVersion
public UpstreamConnectionOptions.FirstAddressFamilyVersion getFirstAddressFamilyVersion()
Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.
.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1;- Specified by:
getFirstAddressFamilyVersionin interfaceUpstreamConnectionOptions.HappyEyeballsConfigOrBuilder- Returns:
- The firstAddressFamilyVersion.
-
setFirstAddressFamilyVersion
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder setFirstAddressFamilyVersion(UpstreamConnectionOptions.FirstAddressFamilyVersion value)
Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.
.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1;- Parameters:
value- The firstAddressFamilyVersion to set.- Returns:
- This builder for chaining.
-
clearFirstAddressFamilyVersion
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder clearFirstAddressFamilyVersion()
Specify the IP address family to attempt connection first in happy eyeballs algorithm according to RFC8305#section-4.
.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1;- Returns:
- This builder for chaining.
-
hasFirstAddressFamilyCount
public boolean hasFirstAddressFamilyCount()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }- Specified by:
hasFirstAddressFamilyCountin interfaceUpstreamConnectionOptions.HappyEyeballsConfigOrBuilder- Returns:
- Whether the firstAddressFamilyCount field is set.
-
getFirstAddressFamilyCount
public com.google.protobuf.UInt32Value getFirstAddressFamilyCount()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }- Specified by:
getFirstAddressFamilyCountin interfaceUpstreamConnectionOptions.HappyEyeballsConfigOrBuilder- Returns:
- The firstAddressFamilyCount.
-
setFirstAddressFamilyCount
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder setFirstAddressFamilyCount(com.google.protobuf.UInt32Value value)
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
setFirstAddressFamilyCount
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder setFirstAddressFamilyCount(com.google.protobuf.UInt32Value.Builder builderForValue)
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
mergeFirstAddressFamilyCount
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder mergeFirstAddressFamilyCount(com.google.protobuf.UInt32Value value)
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
clearFirstAddressFamilyCount
public UpstreamConnectionOptions.HappyEyeballsConfig.Builder clearFirstAddressFamilyCount()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
getFirstAddressFamilyCountBuilder
public com.google.protobuf.UInt32Value.Builder getFirstAddressFamilyCountBuilder()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
getFirstAddressFamilyCountOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getFirstAddressFamilyCountOrBuilder()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }- Specified by:
getFirstAddressFamilyCountOrBuilderin interfaceUpstreamConnectionOptions.HappyEyeballsConfigOrBuilder
-
getFirstAddressFamilyCountFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getFirstAddressFamilyCountFieldBuilder()
Specify the number of addresses of the first_address_family_version being attempted for connection before the other address family.
.google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... }
-
-