Interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FixedServerPreferredAddressConfig.AddressFamilyConfig,FixedServerPreferredAddressConfig.AddressFamilyConfig.Builder
- Enclosing class:
- FixedServerPreferredAddressConfig
public static interface FixedServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port.The server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port.If a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets.If a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets.booleanThe server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port.booleanIf a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAddress
boolean hasAddress()The server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Therefore, unless a :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is explicitly configured, the port specified here must be set to zero. In such cases, Envoy will automatically use the listener's port.
.envoy.config.core.v3.SocketAddress address = 1;- Returns:
- Whether the address field is set.
-
getAddress
SocketAddress getAddress()The server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Therefore, unless a :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is explicitly configured, the port specified here must be set to zero. In such cases, Envoy will automatically use the listener's port.
.envoy.config.core.v3.SocketAddress address = 1;- Returns:
- The address.
-
getAddressOrBuilder
SocketAddressOrBuilder getAddressOrBuilder()The server preferred address sent to clients. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Therefore, unless a :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is explicitly configured, the port specified here must be set to zero. In such cases, Envoy will automatically use the listener's port.
.envoy.config.core.v3.SocketAddress address = 1; -
hasDnatAddress
boolean hasDnatAddress()If a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets. If unspecified, Envoy assumes there is no DNAT, and packets will be sent directly to the address advertised to clients as the server preferred address. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Consequently, the port for this address must be set to zero, with Envoy defaulting to the listener's port instead.
.envoy.config.core.v3.SocketAddress dnat_address = 2;- Returns:
- Whether the dnatAddress field is set.
-
getDnatAddress
SocketAddress getDnatAddress()If a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets. If unspecified, Envoy assumes there is no DNAT, and packets will be sent directly to the address advertised to clients as the server preferred address. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Consequently, the port for this address must be set to zero, with Envoy defaulting to the listener's port instead.
.envoy.config.core.v3.SocketAddress dnat_address = 2;- Returns:
- The dnatAddress.
-
getDnatAddressOrBuilder
SocketAddressOrBuilder getDnatAddressOrBuilder()If a DNAT exists between the client and Envoy, this is the address where Envoy will observe incoming server preferred address packets. If unspecified, Envoy assumes there is no DNAT, and packets will be sent directly to the address advertised to clients as the server preferred address. .. note:: Envoy currently requires all packets for a QUIC connection to arrive on the same port. Consequently, the port for this address must be set to zero, with Envoy defaulting to the listener's port instead.
.envoy.config.core.v3.SocketAddress dnat_address = 2;
-