Class UpstreamConnectionOptions.HappyEyeballsConfig.Builder

    • 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_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpstreamConnectionOptions.HappyEyeballsConfig.Builder>
      • getDefaultInstanceForType

        public UpstreamConnectionOptions.HappyEyeballsConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public UpstreamConnectionOptions.HappyEyeballsConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getFirstAddressFamilyVersionValue in interface UpstreamConnectionOptions.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.
      • 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:
        hasFirstAddressFamilyCount in interface UpstreamConnectionOptions.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:
        getFirstAddressFamilyCount in interface UpstreamConnectionOptions.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:
        getFirstAddressFamilyCountOrBuilder in interface UpstreamConnectionOptions.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) = { ... }