Package io.envoyproxy.envoy.api.v2.core
Class Node
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.core.Node
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NodeOrBuilder,Serializable
public final class Node extends com.google.protobuf.GeneratedMessageV3 implements NodeOrBuilder
Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving. [#next-free-field: 12]
Protobuf typeenvoy.api.v2.core.Node- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNode.BuilderIdentifies a specific Envoy instance.static classNode.UserAgentVersionTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBUILD_VERSION_FIELD_NUMBERstatic intCLIENT_FEATURES_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intEXTENSIONS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLISTENING_ADDRESSES_FIELD_NUMBERstatic intLOCALITY_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intUSER_AGENT_BUILD_VERSION_FIELD_NUMBERstatic intUSER_AGENT_NAME_FIELD_NUMBERstatic intUSER_AGENT_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBuildVersion()Deprecated.envoy.api.v2.core.Node.build_version is deprecated.com.google.protobuf.ByteStringgetBuildVersionBytes()Deprecated.envoy.api.v2.core.Node.build_version is deprecated.StringgetClientFeatures(int index)Client feature support list.com.google.protobuf.ByteStringgetClientFeaturesBytes(int index)Client feature support list.intgetClientFeaturesCount()Client feature support list.com.google.protobuf.ProtocolStringListgetClientFeaturesList()Client feature support list.StringgetCluster()Defines the local service cluster name where Envoy is running.com.google.protobuf.ByteStringgetClusterBytes()Defines the local service cluster name where Envoy is running.static NodegetDefaultInstance()NodegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ExtensiongetExtensions(int index)List of extensions and their versions supported by the node.intgetExtensionsCount()List of extensions and their versions supported by the node.List<Extension>getExtensionsList()List of extensions and their versions supported by the node.ExtensionOrBuildergetExtensionsOrBuilder(int index)List of extensions and their versions supported by the node.List<? extends ExtensionOrBuilder>getExtensionsOrBuilderList()List of extensions and their versions supported by the node.StringgetId()An opaque node identifier for the Envoy node.com.google.protobuf.ByteStringgetIdBytes()An opaque node identifier for the Envoy node.AddressgetListeningAddresses(int index)Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned.intgetListeningAddressesCount()Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned.List<Address>getListeningAddressesList()Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned.AddressOrBuildergetListeningAddressesOrBuilder(int index)Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned.List<? extends AddressOrBuilder>getListeningAddressesOrBuilderList()Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned.LocalitygetLocality()Locality specifying where the Envoy instance is running.LocalityOrBuildergetLocalityOrBuilder()Locality specifying where the Envoy instance is running.com.google.protobuf.StructgetMetadata()Opaque metadata extending the node identifier.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()Opaque metadata extending the node identifier.com.google.protobuf.Parser<Node>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()BuildVersiongetUserAgentBuildVersion()Structured version of the entity requesting config.BuildVersionOrBuildergetUserAgentBuildVersionOrBuilder()Structured version of the entity requesting config.StringgetUserAgentName()Free-form string that identifies the entity requesting config.com.google.protobuf.ByteStringgetUserAgentNameBytes()Free-form string that identifies the entity requesting config.StringgetUserAgentVersion()Free-form string that identifies the version of the entity requesting config.com.google.protobuf.ByteStringgetUserAgentVersionBytes()Free-form string that identifies the version of the entity requesting config.Node.UserAgentVersionTypeCasegetUserAgentVersionTypeCase()inthashCode()booleanhasLocality()Locality specifying where the Envoy instance is running.booleanhasMetadata()Opaque metadata extending the node identifier.booleanhasUserAgentBuildVersion()Structured version of the entity requesting config.booleanhasUserAgentVersion()Free-form string that identifies the version of the entity requesting config.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Node.BuildernewBuilder()static Node.BuildernewBuilder(Node prototype)Node.BuildernewBuilderForType()protected Node.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NodeparseDelimitedFrom(InputStream input)static NodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeparseFrom(byte[] data)static NodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeparseFrom(com.google.protobuf.ByteString data)static NodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeparseFrom(com.google.protobuf.CodedInputStream input)static NodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeparseFrom(InputStream input)static NodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeparseFrom(ByteBuffer data)static NodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Node>parser()Node.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_VERSION_FIELD_NUMBER
public static final int BUILD_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_AGENT_NAME_FIELD_NUMBER
public static final int USER_AGENT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_AGENT_VERSION_FIELD_NUMBER
public static final int USER_AGENT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_AGENT_BUILD_VERSION_FIELD_NUMBER
public static final int USER_AGENT_BUILD_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSIONS_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_FEATURES_FIELD_NUMBER
public static final int CLIENT_FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LISTENING_ADDRESSES_FIELD_NUMBER
public static final int LISTENING_ADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUserAgentVersionTypeCase
public Node.UserAgentVersionTypeCase getUserAgentVersionTypeCase()
- Specified by:
getUserAgentVersionTypeCasein interfaceNodeOrBuilder
-
getId
public String getId()
An opaque node identifier for the Envoy node. This also provides the local service node name. It should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`--service-node`.
string id = 1;- Specified by:
getIdin interfaceNodeOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
An opaque node identifier for the Envoy node. This also provides the local service node name. It should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`--service-node`.
string id = 1;- Specified by:
getIdBytesin interfaceNodeOrBuilder- Returns:
- The bytes for id.
-
getCluster
public String getCluster()
Defines the local service cluster name where Envoy is running. Though optional, it should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`health check cluster verification <envoy_api_field_core.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v2.Runtime>`, :ref:`user agent addition <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.add_user_agent>`, :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`--service-cluster`.
string cluster = 2;- Specified by:
getClusterin interfaceNodeOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()
Defines the local service cluster name where Envoy is running. Though optional, it should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`health check cluster verification <envoy_api_field_core.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v2.Runtime>`, :ref:`user agent addition <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.add_user_agent>`, :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`--service-cluster`.
string cluster = 2;- Specified by:
getClusterBytesin interfaceNodeOrBuilder- Returns:
- The bytes for cluster.
-
hasMetadata
public boolean hasMetadata()
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 3;- Specified by:
hasMetadatain interfaceNodeOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata()
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 3;- Specified by:
getMetadatain interfaceNodeOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceNodeOrBuilder
-
hasLocality
public boolean hasLocality()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;- Specified by:
hasLocalityin interfaceNodeOrBuilder- Returns:
- Whether the locality field is set.
-
getLocality
public Locality getLocality()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;- Specified by:
getLocalityin interfaceNodeOrBuilder- Returns:
- The locality.
-
getLocalityOrBuilder
public LocalityOrBuilder getLocalityOrBuilder()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;- Specified by:
getLocalityOrBuilderin interfaceNodeOrBuilder
-
getBuildVersion
@Deprecated public String getBuildVersion()
Deprecated.envoy.api.v2.core.Node.build_version is deprecated. See envoy/api/v2/core/base.proto;l=165This is motivated by informing a management server during canary which version of Envoy is being tested in a heterogeneous fleet. This will be set by Envoy in management server RPCs. This field is deprecated in favor of the user_agent_name and user_agent_version values.
string build_version = 5 [deprecated = true];- Specified by:
getBuildVersionin interfaceNodeOrBuilder- Returns:
- The buildVersion.
-
getBuildVersionBytes
@Deprecated public com.google.protobuf.ByteString getBuildVersionBytes()
Deprecated.envoy.api.v2.core.Node.build_version is deprecated. See envoy/api/v2/core/base.proto;l=165This is motivated by informing a management server during canary which version of Envoy is being tested in a heterogeneous fleet. This will be set by Envoy in management server RPCs. This field is deprecated in favor of the user_agent_name and user_agent_version values.
string build_version = 5 [deprecated = true];- Specified by:
getBuildVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for buildVersion.
-
getUserAgentName
public String getUserAgentName()
Free-form string that identifies the entity requesting config. E.g. "envoy" or "grpc"
string user_agent_name = 6;- Specified by:
getUserAgentNamein interfaceNodeOrBuilder- Returns:
- The userAgentName.
-
getUserAgentNameBytes
public com.google.protobuf.ByteString getUserAgentNameBytes()
Free-form string that identifies the entity requesting config. E.g. "envoy" or "grpc"
string user_agent_name = 6;- Specified by:
getUserAgentNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for userAgentName.
-
hasUserAgentVersion
public boolean hasUserAgentVersion()
Free-form string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild"
string user_agent_version = 7;- Specified by:
hasUserAgentVersionin interfaceNodeOrBuilder- Returns:
- Whether the userAgentVersion field is set.
-
getUserAgentVersion
public String getUserAgentVersion()
Free-form string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild"
string user_agent_version = 7;- Specified by:
getUserAgentVersionin interfaceNodeOrBuilder- Returns:
- The userAgentVersion.
-
getUserAgentVersionBytes
public com.google.protobuf.ByteString getUserAgentVersionBytes()
Free-form string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild"
string user_agent_version = 7;- Specified by:
getUserAgentVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for userAgentVersion.
-
hasUserAgentBuildVersion
public boolean hasUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.api.v2.core.BuildVersion user_agent_build_version = 8;- Specified by:
hasUserAgentBuildVersionin interfaceNodeOrBuilder- Returns:
- Whether the userAgentBuildVersion field is set.
-
getUserAgentBuildVersion
public BuildVersion getUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.api.v2.core.BuildVersion user_agent_build_version = 8;- Specified by:
getUserAgentBuildVersionin interfaceNodeOrBuilder- Returns:
- The userAgentBuildVersion.
-
getUserAgentBuildVersionOrBuilder
public BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder()
Structured version of the entity requesting config.
.envoy.api.v2.core.BuildVersion user_agent_build_version = 8;- Specified by:
getUserAgentBuildVersionOrBuilderin interfaceNodeOrBuilder
-
getExtensionsList
public List<Extension> getExtensionsList()
List of extensions and their versions supported by the node.
repeated .envoy.api.v2.core.Extension extensions = 9;- Specified by:
getExtensionsListin interfaceNodeOrBuilder
-
getExtensionsOrBuilderList
public List<? extends ExtensionOrBuilder> getExtensionsOrBuilderList()
List of extensions and their versions supported by the node.
repeated .envoy.api.v2.core.Extension extensions = 9;- Specified by:
getExtensionsOrBuilderListin interfaceNodeOrBuilder
-
getExtensionsCount
public int getExtensionsCount()
List of extensions and their versions supported by the node.
repeated .envoy.api.v2.core.Extension extensions = 9;- Specified by:
getExtensionsCountin interfaceNodeOrBuilder
-
getExtensions
public Extension getExtensions(int index)
List of extensions and their versions supported by the node.
repeated .envoy.api.v2.core.Extension extensions = 9;- Specified by:
getExtensionsin interfaceNodeOrBuilder
-
getExtensionsOrBuilder
public ExtensionOrBuilder getExtensionsOrBuilder(int index)
List of extensions and their versions supported by the node.
repeated .envoy.api.v2.core.Extension extensions = 9;- Specified by:
getExtensionsOrBuilderin interfaceNodeOrBuilder
-
getClientFeaturesList
public com.google.protobuf.ProtocolStringList getClientFeaturesList()
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support.
repeated string client_features = 10;- Specified by:
getClientFeaturesListin interfaceNodeOrBuilder- Returns:
- A list containing the clientFeatures.
-
getClientFeaturesCount
public int getClientFeaturesCount()
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support.
repeated string client_features = 10;- Specified by:
getClientFeaturesCountin interfaceNodeOrBuilder- Returns:
- The count of clientFeatures.
-
getClientFeatures
public String getClientFeatures(int index)
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support.
repeated string client_features = 10;- Specified by:
getClientFeaturesin interfaceNodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The clientFeatures at the given index.
-
getClientFeaturesBytes
public com.google.protobuf.ByteString getClientFeaturesBytes(int index)
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support.
repeated string client_features = 10;- Specified by:
getClientFeaturesBytesin interfaceNodeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clientFeatures at the given index.
-
getListeningAddressesList
public List<Address> getListeningAddressesList()
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
repeated .envoy.api.v2.core.Address listening_addresses = 11;- Specified by:
getListeningAddressesListin interfaceNodeOrBuilder
-
getListeningAddressesOrBuilderList
public List<? extends AddressOrBuilder> getListeningAddressesOrBuilderList()
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
repeated .envoy.api.v2.core.Address listening_addresses = 11;- Specified by:
getListeningAddressesOrBuilderListin interfaceNodeOrBuilder
-
getListeningAddressesCount
public int getListeningAddressesCount()
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
repeated .envoy.api.v2.core.Address listening_addresses = 11;- Specified by:
getListeningAddressesCountin interfaceNodeOrBuilder
-
getListeningAddresses
public Address getListeningAddresses(int index)
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
repeated .envoy.api.v2.core.Address listening_addresses = 11;- Specified by:
getListeningAddressesin interfaceNodeOrBuilder
-
getListeningAddressesOrBuilder
public AddressOrBuilder getListeningAddressesOrBuilder(int index)
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
repeated .envoy.api.v2.core.Address listening_addresses = 11;- Specified by:
getListeningAddressesOrBuilderin interfaceNodeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Node parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Node.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Node.Builder newBuilder()
-
newBuilder
public static Node.Builder newBuilder(Node prototype)
-
toBuilder
public Node.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Node getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Node> parser()
-
getParserForType
public com.google.protobuf.Parser<Node> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-