public static final class AddressOuterClass.SocketAddress extends com.google.protobuf.GeneratedMessageV3 implements AddressOuterClass.SocketAddressOrBuilder
envoy.api.v2.core.SocketAddress| Modifier and Type | Class and Description |
|---|---|
static class |
AddressOuterClass.SocketAddress.Builder
Protobuf type
envoy.api.v2.core.SocketAddress |
static class |
AddressOuterClass.SocketAddress.PortSpecifierCase |
static class |
AddressOuterClass.SocketAddress.Protocol
Protobuf enum
envoy.api.v2.core.SocketAddress.Protocol |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
IPV4_COMPAT_FIELD_NUMBER |
static int |
NAMED_PORT_FIELD_NUMBER |
static int |
PORT_VALUE_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
static int |
RESOLVER_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
The address for this socket.
|
com.google.protobuf.ByteString |
getAddressBytes()
The address for this socket.
|
static AddressOuterClass.SocketAddress |
getDefaultInstance() |
AddressOuterClass.SocketAddress |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<AddressOuterClass.SocketAddress> |
getParserForType() |
AddressOuterClass.SocketAddress.PortSpecifierCase |
getPortSpecifierCase() |
int |
getPortValue()
uint32 port_value = 3 [(.validate.rules) = { ... |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AddressOuterClass.SocketAddress.Builder |
newBuilder() |
static AddressOuterClass.SocketAddress.Builder |
newBuilder(AddressOuterClass.SocketAddress prototype) |
AddressOuterClass.SocketAddress.Builder |
newBuilderForType() |
protected AddressOuterClass.SocketAddress.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AddressOuterClass.SocketAddress |
parseDelimitedFrom(InputStream input) |
static AddressOuterClass.SocketAddress |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AddressOuterClass.SocketAddress |
parseFrom(byte[] data) |
static AddressOuterClass.SocketAddress |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AddressOuterClass.SocketAddress |
parseFrom(ByteBuffer data) |
static AddressOuterClass.SocketAddress |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AddressOuterClass.SocketAddress |
parseFrom(com.google.protobuf.ByteString data) |
static AddressOuterClass.SocketAddress |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AddressOuterClass.SocketAddress |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AddressOuterClass.SocketAddress |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AddressOuterClass.SocketAddress |
parseFrom(InputStream input) |
static AddressOuterClass.SocketAddress |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AddressOuterClass.SocketAddress> |
parser() |
AddressOuterClass.SocketAddress.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROTOCOL_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int PORT_VALUE_FIELD_NUMBER
public static final int NAMED_PORT_FIELD_NUMBER
public static final int RESOLVER_NAME_FIELD_NUMBER
public static final int IPV4_COMPAT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AddressOuterClass.SocketAddress.PortSpecifierCase getPortSpecifierCase()
getPortSpecifierCase in interface AddressOuterClass.SocketAddressOrBuilderpublic int getProtocolValue()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... }getProtocolValue in interface AddressOuterClass.SocketAddressOrBuilderpublic AddressOuterClass.SocketAddress.Protocol getProtocol()
.envoy.api.v2.core.SocketAddress.Protocol protocol = 1 [(.validate.rules) = { ... }getProtocol in interface AddressOuterClass.SocketAddressOrBuilderpublic String getAddress()
The address for this socket. :ref:`Listeners <config_listeners>` will bind to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: It is possible to distinguish a Listener address via the prefix/suffix matching in :ref:`FilterChainMatch <envoy_api_msg_listener.FilterChainMatch>`.] When used within an upstream :ref:`BindConfig <envoy_api_msg_core.BindConfig>`, the address controls the source address of outbound connections. For :ref:`clusters <envoy_api_msg_Cluster>`, the cluster type determines whether the address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized via :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>`.
string address = 2 [(.validate.rules) = { ... }getAddress in interface AddressOuterClass.SocketAddressOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
The address for this socket. :ref:`Listeners <config_listeners>` will bind to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: It is possible to distinguish a Listener address via the prefix/suffix matching in :ref:`FilterChainMatch <envoy_api_msg_listener.FilterChainMatch>`.] When used within an upstream :ref:`BindConfig <envoy_api_msg_core.BindConfig>`, the address controls the source address of outbound connections. For :ref:`clusters <envoy_api_msg_Cluster>`, the cluster type determines whether the address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized via :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>`.
string address = 2 [(.validate.rules) = { ... }getAddressBytes in interface AddressOuterClass.SocketAddressOrBuilderpublic int getPortValue()
uint32 port_value = 3 [(.validate.rules) = { ... }getPortValue in interface AddressOuterClass.SocketAddressOrBuilderpublic 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;getNamedPort in interface AddressOuterClass.SocketAddressOrBuilderpublic 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;getNamedPortBytes in interface AddressOuterClass.SocketAddressOrBuilderpublic 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;getResolverName in interface AddressOuterClass.SocketAddressOrBuilderpublic 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;getResolverNameBytes in interface AddressOuterClass.SocketAddressOrBuilderpublic 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;getIpv4Compat in interface AddressOuterClass.SocketAddressOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AddressOuterClass.SocketAddress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AddressOuterClass.SocketAddress parseFrom(InputStream input) throws IOException
IOExceptionpublic static AddressOuterClass.SocketAddress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AddressOuterClass.SocketAddress parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AddressOuterClass.SocketAddress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AddressOuterClass.SocketAddress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AddressOuterClass.SocketAddress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AddressOuterClass.SocketAddress.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AddressOuterClass.SocketAddress.Builder newBuilder()
public static AddressOuterClass.SocketAddress.Builder newBuilder(AddressOuterClass.SocketAddress prototype)
public AddressOuterClass.SocketAddress.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AddressOuterClass.SocketAddress.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AddressOuterClass.SocketAddress getDefaultInstance()
public static com.google.protobuf.Parser<AddressOuterClass.SocketAddress> parser()
public com.google.protobuf.Parser<AddressOuterClass.SocketAddress> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AddressOuterClass.SocketAddress getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.