Class FixedServerPreferredAddressConfig.AddressFamilyConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder, Serializable
Enclosing class:
FixedServerPreferredAddressConfig

public static final class FixedServerPreferredAddressConfig.AddressFamilyConfig extends com.google.protobuf.GeneratedMessageV3 implements FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
 Addresses for server preferred address for a single address family (IPv4 or IPv6).
 
Protobuf type envoy.extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig
See Also:
  • Field Details

    • ADDRESS_FIELD_NUMBER

      public static final int ADDRESS_FIELD_NUMBER
      See Also:
    • DNAT_ADDRESS_FIELD_NUMBER

      public static final int DNAT_ADDRESS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasAddress

      public boolean hasAddress()
       The server preferred address sent to clients.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so unless
       :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>`
       is configured, the port for this address must be zero, and the listener's
       port will be used instead.
       
      .envoy.config.core.v3.SocketAddress address = 1;
      Specified by:
      hasAddress in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
      Returns:
      Whether the address field is set.
    • getAddress

      public SocketAddress getAddress()
       The server preferred address sent to clients.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so unless
       :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>`
       is configured, the port for this address must be zero, and the listener's
       port will be used instead.
       
      .envoy.config.core.v3.SocketAddress address = 1;
      Specified by:
      getAddress in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
      Returns:
      The address.
    • getAddressOrBuilder

      public SocketAddressOrBuilder getAddressOrBuilder()
       The server preferred address sent to clients.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so unless
       :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>`
       is configured, the port for this address must be zero, and the listener's
       port will be used instead.
       
      .envoy.config.core.v3.SocketAddress address = 1;
      Specified by:
      getAddressOrBuilder in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
    • hasDnatAddress

      public boolean hasDnatAddress()
       If there is a DNAT between the client and Envoy, the address that Envoy will observe
       server preferred address packets being sent to. If this is not specified, it is assumed
       there is no DNAT and the server preferred address packets will be sent to the address advertised
       to clients for server preferred address.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so the
       port for this address must be zero, and the listener's port will be used instead.
       
      .envoy.config.core.v3.SocketAddress dnat_address = 2;
      Specified by:
      hasDnatAddress in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
      Returns:
      Whether the dnatAddress field is set.
    • getDnatAddress

      public SocketAddress getDnatAddress()
       If there is a DNAT between the client and Envoy, the address that Envoy will observe
       server preferred address packets being sent to. If this is not specified, it is assumed
       there is no DNAT and the server preferred address packets will be sent to the address advertised
       to clients for server preferred address.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so the
       port for this address must be zero, and the listener's port will be used instead.
       
      .envoy.config.core.v3.SocketAddress dnat_address = 2;
      Specified by:
      getDnatAddress in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
      Returns:
      The dnatAddress.
    • getDnatAddressOrBuilder

      public SocketAddressOrBuilder getDnatAddressOrBuilder()
       If there is a DNAT between the client and Envoy, the address that Envoy will observe
       server preferred address packets being sent to. If this is not specified, it is assumed
       there is no DNAT and the server preferred address packets will be sent to the address advertised
       to clients for server preferred address.
      
       Note: Envoy currently must receive all packets for a QUIC connection on the same port, so the
       port for this address must be zero, and the listener's port will be used instead.
       
      .envoy.config.core.v3.SocketAddress dnat_address = 2;
      Specified by:
      getDnatAddressOrBuilder in interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
    • isInitialized

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

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

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

      public boolean equals(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 FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      Throws:
      IOException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FixedServerPreferredAddressConfig.AddressFamilyConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static FixedServerPreferredAddressConfig.AddressFamilyConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FixedServerPreferredAddressConfig.AddressFamilyConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<FixedServerPreferredAddressConfig.AddressFamilyConfig> 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.GeneratedMessageV3
    • getDefaultInstanceForType

      public FixedServerPreferredAddressConfig.AddressFamilyConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder