public static interface AddressOuterClass.SocketAddressOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
The address for this socket.
|
com.google.protobuf.ByteString |
getAddressBytes()
The address for this socket.
|
boolean |
getIpv4Compat()
When binding to an IPv6 address above, this enables `IPv4 compatibity
<https://tools.ietf.org/html/rfc3493#page-11>`_.
|
String |
getNamedPort()
This is only valid if :ref:`resolver_name
<envoy_api_field_core.SocketAddress.resolver_name>` is specified below and the
named resolver is capable of named port resolution.
|
com.google.protobuf.ByteString |
getNamedPortBytes()
This is only valid if :ref:`resolver_name
<envoy_api_field_core.SocketAddress.resolver_name>` is specified below and the
named resolver is capable of named port resolution.
|
AddressOuterClass.SocketAddress.PortSpecifierCase |
getPortSpecifierCase() |
int |
getPortValue()
uint32 port_value = 3; |
AddressOuterClass.SocketAddress.Protocol |
getProtocol()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... } |
int |
getProtocolValue()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... } |
String |
getResolverName()
The name of the resolver.
|
com.google.protobuf.ByteString |
getResolverNameBytes()
The name of the resolver.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getProtocolValue()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... }AddressOuterClass.SocketAddress.Protocol getProtocol()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... }String getAddress()
The address for this socket. :ref:`Listeners <config_listeners>` will bind to the address or outbound connections will be made. An empty address is not allowed, specify ``0.0.0.0`` or ``::`` to bind any. It's still possible to distinguish on an address via the prefix/suffix matching in FilterChainMatch after connection. For :ref:`clusters <config_cluster_manager_cluster>`, an address may be either an IP or hostname to be resolved via DNS. If it is a hostname, :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>` should be set unless default (i.e. DNS) resolution is expected.
string address = 2 [(.validate.rules) = { ... }com.google.protobuf.ByteString getAddressBytes()
The address for this socket. :ref:`Listeners <config_listeners>` will bind to the address or outbound connections will be made. An empty address is not allowed, specify ``0.0.0.0`` or ``::`` to bind any. It's still possible to distinguish on an address via the prefix/suffix matching in FilterChainMatch after connection. For :ref:`clusters <config_cluster_manager_cluster>`, an address may be either an IP or hostname to be resolved via DNS. If it is a hostname, :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>` should be set unless default (i.e. DNS) resolution is expected.
string address = 2 [(.validate.rules) = { ... }int getPortValue()
uint32 port_value = 3;String getNamedPort()
This is only valid if :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>` is specified below and the named resolver is capable of named port resolution.
string named_port = 4;com.google.protobuf.ByteString getNamedPortBytes()
This is only valid if :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>` is specified below and the named resolver is capable of named port resolution.
string named_port = 4;String getResolverName()
The name of the resolver. This must have been registered with Envoy. If this is empty, a context dependent default applies. If address is a hostname this should be set for resolution other than DNS. If the address is a concrete IP address, no resolution will occur.
string resolver_name = 5;com.google.protobuf.ByteString getResolverNameBytes()
The name of the resolver. This must have been registered with Envoy. If this is empty, a context dependent default applies. If address is a hostname this should be set for resolution other than DNS. If the address is a concrete IP address, no resolution will occur.
string resolver_name = 5;boolean getIpv4Compat()
When binding to an IPv6 address above, this enables `IPv4 compatibity <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to ``::`` will allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into IPv6 space as ``::FFFF:<IPv4-address>``.
bool ipv4_compat = 6;AddressOuterClass.SocketAddress.PortSpecifierCase getPortSpecifierCase()
Copyright © 2018 The Envoy Project. All rights reserved.