Class UpstreamConnectionOptions.HappyEyeballsConfig

    • Field Detail

      • bitField0_

        private int bitField0_
      • FIRST_ADDRESS_FAMILY_VERSION_FIELD_NUMBER

        public static final int FIRST_ADDRESS_FAMILY_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • firstAddressFamilyVersion_

        private int firstAddressFamilyVersion_
      • FIRST_ADDRESS_FAMILY_COUNT_FIELD_NUMBER

        public static final int FIRST_ADDRESS_FAMILY_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • firstAddressFamilyCount_

        private com.google.protobuf.UInt32Value firstAddressFamilyCount_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • HappyEyeballsConfig

        private HappyEyeballsConfig​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • HappyEyeballsConfig

        private HappyEyeballsConfig()
    • 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
      • 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.
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(java.nio.ByteBuffer data)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(java.nio.ByteBuffer data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(com.google.protobuf.ByteString data)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(com.google.protobuf.ByteString data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(byte[] data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(java.io.InputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseDelimitedFrom​(java.io.InputStream input,
                                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UpstreamConnectionOptions.HappyEyeballsConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getParserForType

        public com.google.protobuf.Parser<UpstreamConnectionOptions.HappyEyeballsConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

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