Interface DataSourceServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSourceServerPreferredAddressConfig.AddressFamilyConfig,DataSourceServerPreferredAddressConfig.AddressFamilyConfig.Builder
- Enclosing class:
- DataSourceServerPreferredAddressConfig
public static interface DataSourceServerPreferredAddressConfig.AddressFamilyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe server preferred address sent to clients.The server preferred address sent to clients.If there is a DNAT between the client and Envoy, the address that Envoy will observe server preferred address packets being sent to.If there is a DNAT between the client and Envoy, the address that Envoy will observe server preferred address packets being sent to.getPort()The server preferred address port sent to clients.The server preferred address port sent to clients.booleanThe server preferred address sent to clients.booleanIf there is a DNAT between the client and Envoy, the address that Envoy will observe server preferred address packets being sent to.booleanhasPort()The server preferred address port sent to clients.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. The data must contain an IP address string.
.envoy.config.core.v3.DataSource address = 1 [(.validate.rules) = { ... }- Returns:
- Whether the address field is set.
-
getAddress
DataSource getAddress()The server preferred address sent to clients. The data must contain an IP address string.
.envoy.config.core.v3.DataSource address = 1 [(.validate.rules) = { ... }- Returns:
- The address.
-
getAddressOrBuilder
DataSourceOrBuilder getAddressOrBuilder()The server preferred address sent to clients. The data must contain an IP address string.
.envoy.config.core.v3.DataSource address = 1 [(.validate.rules) = { ... } -
hasPort
boolean hasPort()The server preferred address port sent to clients. The data must contain a integer port value. If this is not specified, the listener's port is used. 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.DataSourceServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is configured, this must be left unset.
.envoy.config.core.v3.DataSource port = 2;- Returns:
- Whether the port field is set.
-
getPort
DataSource getPort()The server preferred address port sent to clients. The data must contain a integer port value. If this is not specified, the listener's port is used. 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.DataSourceServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is configured, this must be left unset.
.envoy.config.core.v3.DataSource port = 2;- Returns:
- The port.
-
getPortOrBuilder
DataSourceOrBuilder getPortOrBuilder()The server preferred address port sent to clients. The data must contain a integer port value. If this is not specified, the listener's port is used. 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.DataSourceServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>` is configured, this must be left unset.
.envoy.config.core.v3.DataSource port = 2; -
hasDnatAddress
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.
.envoy.config.core.v3.DataSource dnat_address = 3;- Returns:
- Whether the dnatAddress field is set.
-
getDnatAddress
DataSource 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.
.envoy.config.core.v3.DataSource dnat_address = 3;- Returns:
- The dnatAddress.
-
getDnatAddressOrBuilder
DataSourceOrBuilder 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.
.envoy.config.core.v3.DataSource dnat_address = 3;
-