Class Node
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.core.v3.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: 13]
Protobuf typeenvoy.config.core.v3.Node
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Node.Builder
Identifies a specific Envoy instance.static class
Node.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 int
CLIENT_FEATURES_FIELD_NUMBER
static int
CLUSTER_FIELD_NUMBER
static int
DYNAMIC_PARAMETERS_FIELD_NUMBER
static int
EXTENSIONS_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
LISTENING_ADDRESSES_FIELD_NUMBER
static int
LOCALITY_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
USER_AGENT_BUILD_VERSION_FIELD_NUMBER
static int
USER_AGENT_NAME_FIELD_NUMBER
static int
USER_AGENT_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsDynamicParameters(String key)
Map from xDS resource type URL to dynamic context parameters.boolean
equals(Object obj)
String
getClientFeatures(int index)
Client feature support list.com.google.protobuf.ByteString
getClientFeaturesBytes(int index)
Client feature support list.int
getClientFeaturesCount()
Client feature support list.com.google.protobuf.ProtocolStringList
getClientFeaturesList()
Client feature support list.String
getCluster()
Defines the local service cluster name where Envoy is running.com.google.protobuf.ByteString
getClusterBytes()
Defines the local service cluster name where Envoy is running.static Node
getDefaultInstance()
Node
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,ContextParams>
getDynamicParameters()
Deprecated.int
getDynamicParametersCount()
Map from xDS resource type URL to dynamic context parameters.Map<String,ContextParams>
getDynamicParametersMap()
Map from xDS resource type URL to dynamic context parameters.ContextParams
getDynamicParametersOrDefault(String key, ContextParams defaultValue)
Map from xDS resource type URL to dynamic context parameters.ContextParams
getDynamicParametersOrThrow(String key)
Map from xDS resource type URL to dynamic context parameters.Extension
getExtensions(int index)
List of extensions and their versions supported by the node.int
getExtensionsCount()
List of extensions and their versions supported by the node.List<Extension>
getExtensionsList()
List of extensions and their versions supported by the node.ExtensionOrBuilder
getExtensionsOrBuilder(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.String
getId()
An opaque node identifier for the Envoy node.com.google.protobuf.ByteString
getIdBytes()
An opaque node identifier for the Envoy node.Address
getListeningAddresses(int index)
Deprecated.int
getListeningAddressesCount()
Deprecated.List<Address>
getListeningAddressesList()
Deprecated.AddressOrBuilder
getListeningAddressesOrBuilder(int index)
Deprecated.List<? extends AddressOrBuilder>
getListeningAddressesOrBuilderList()
Deprecated.Locality
getLocality()
Locality specifying where the Envoy instance is running.LocalityOrBuilder
getLocalityOrBuilder()
Locality specifying where the Envoy instance is running.com.google.protobuf.Struct
getMetadata()
Opaque metadata extending the node identifier.com.google.protobuf.StructOrBuilder
getMetadataOrBuilder()
Opaque metadata extending the node identifier.com.google.protobuf.Parser<Node>
getParserForType()
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
BuildVersion
getUserAgentBuildVersion()
Structured version of the entity requesting config.BuildVersionOrBuilder
getUserAgentBuildVersionOrBuilder()
Structured version of the entity requesting config.String
getUserAgentName()
Free-form string that identifies the entity requesting config.com.google.protobuf.ByteString
getUserAgentNameBytes()
Free-form string that identifies the entity requesting config.String
getUserAgentVersion()
Free-form string that identifies the version of the entity requesting config.com.google.protobuf.ByteString
getUserAgentVersionBytes()
Free-form string that identifies the version of the entity requesting config.Node.UserAgentVersionTypeCase
getUserAgentVersionTypeCase()
int
hashCode()
boolean
hasLocality()
Locality specifying where the Envoy instance is running.boolean
hasMetadata()
Opaque metadata extending the node identifier.boolean
hasUserAgentBuildVersion()
Structured version of the entity requesting config.boolean
hasUserAgentVersion()
Free-form string that identifies the version of the entity requesting config.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Node.Builder
newBuilder()
static Node.Builder
newBuilder(Node prototype)
Node.Builder
newBuilderForType()
protected Node.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Node
parseDelimitedFrom(InputStream input)
static Node
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Node
parseFrom(byte[] data)
static Node
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Node
parseFrom(com.google.protobuf.ByteString data)
static Node
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Node
parseFrom(com.google.protobuf.CodedInputStream input)
static Node
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Node
parseFrom(InputStream input)
static Node
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Node
parseFrom(ByteBuffer data)
static Node
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Node>
parser()
Node.Builder
toBuilder()
void
writeTo(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, 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
-
DYNAMIC_PARAMETERS_FIELD_NUMBER
public static final int DYNAMIC_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getUserAgentVersionTypeCase
public Node.UserAgentVersionTypeCase getUserAgentVersionTypeCase()
- Specified by:
getUserAgentVersionTypeCase
in 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:
getId
in 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:
getIdBytes
in 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_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_v3_api_msg_config.bootstrap.v3.Runtime>`, :ref:`user agent addition <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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:
getCluster
in 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_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_v3_api_msg_config.bootstrap.v3.Runtime>`, :ref:`user agent addition <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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:
getClusterBytes
in 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:
hasMetadata
in 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:
getMetadata
in 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:
getMetadataOrBuilder
in interfaceNodeOrBuilder
-
getDynamicParametersCount
public int getDynamicParametersCount()
Description copied from interface:NodeOrBuilder
Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.
map<string, .xds.core.v3.ContextParams> dynamic_parameters = 12;
- Specified by:
getDynamicParametersCount
in interfaceNodeOrBuilder
-
containsDynamicParameters
public boolean containsDynamicParameters(String key)
Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.
map<string, .xds.core.v3.ContextParams> dynamic_parameters = 12;
- Specified by:
containsDynamicParameters
in interfaceNodeOrBuilder
-
getDynamicParameters
@Deprecated public Map<String,ContextParams> getDynamicParameters()
Deprecated.UsegetDynamicParametersMap()
instead.- Specified by:
getDynamicParameters
in interfaceNodeOrBuilder
-
getDynamicParametersMap
public Map<String,ContextParams> getDynamicParametersMap()
Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.
map<string, .xds.core.v3.ContextParams> dynamic_parameters = 12;
- Specified by:
getDynamicParametersMap
in interfaceNodeOrBuilder
-
getDynamicParametersOrDefault
public ContextParams getDynamicParametersOrDefault(String key, ContextParams defaultValue)
Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.
map<string, .xds.core.v3.ContextParams> dynamic_parameters = 12;
- Specified by:
getDynamicParametersOrDefault
in interfaceNodeOrBuilder
-
getDynamicParametersOrThrow
public ContextParams getDynamicParametersOrThrow(String key)
Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.
map<string, .xds.core.v3.ContextParams> dynamic_parameters = 12;
- Specified by:
getDynamicParametersOrThrow
in interfaceNodeOrBuilder
-
hasLocality
public boolean hasLocality()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v3.Locality locality = 4;
- Specified by:
hasLocality
in interfaceNodeOrBuilder
- Returns:
- Whether the locality field is set.
-
getLocality
public Locality getLocality()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v3.Locality locality = 4;
- Specified by:
getLocality
in interfaceNodeOrBuilder
- Returns:
- The locality.
-
getLocalityOrBuilder
public LocalityOrBuilder getLocalityOrBuilder()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v3.Locality locality = 4;
- Specified by:
getLocalityOrBuilder
in interfaceNodeOrBuilder
-
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:
getUserAgentName
in 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:
getUserAgentNameBytes
in 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:
hasUserAgentVersion
in 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:
getUserAgentVersion
in 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:
getUserAgentVersionBytes
in interfaceNodeOrBuilder
- Returns:
- The bytes for userAgentVersion.
-
hasUserAgentBuildVersion
public boolean hasUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
- Specified by:
hasUserAgentBuildVersion
in interfaceNodeOrBuilder
- Returns:
- Whether the userAgentBuildVersion field is set.
-
getUserAgentBuildVersion
public BuildVersion getUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
- Specified by:
getUserAgentBuildVersion
in interfaceNodeOrBuilder
- Returns:
- The userAgentBuildVersion.
-
getUserAgentBuildVersionOrBuilder
public BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder()
Structured version of the entity requesting config.
.envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
- Specified by:
getUserAgentBuildVersionOrBuilder
in interfaceNodeOrBuilder
-
getExtensionsList
public List<Extension> getExtensionsList()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v3.Extension extensions = 9;
- Specified by:
getExtensionsList
in interfaceNodeOrBuilder
-
getExtensionsOrBuilderList
public List<? extends ExtensionOrBuilder> getExtensionsOrBuilderList()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v3.Extension extensions = 9;
- Specified by:
getExtensionsOrBuilderList
in interfaceNodeOrBuilder
-
getExtensionsCount
public int getExtensionsCount()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v3.Extension extensions = 9;
- Specified by:
getExtensionsCount
in interfaceNodeOrBuilder
-
getExtensions
public Extension getExtensions(int index)
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v3.Extension extensions = 9;
- Specified by:
getExtensions
in interfaceNodeOrBuilder
-
getExtensionsOrBuilder
public ExtensionOrBuilder getExtensionsOrBuilder(int index)
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v3.Extension extensions = 9;
- Specified by:
getExtensionsOrBuilder
in 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:
getClientFeaturesList
in 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:
getClientFeaturesCount
in 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:
getClientFeatures
in 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:
getClientFeaturesBytes
in interfaceNodeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the clientFeatures at the given index.
-
getListeningAddressesList
@Deprecated public List<Address> getListeningAddressesList()
Deprecated.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.config.core.v3.Address listening_addresses = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getListeningAddressesList
in interfaceNodeOrBuilder
-
getListeningAddressesOrBuilderList
@Deprecated public List<? extends AddressOrBuilder> getListeningAddressesOrBuilderList()
Deprecated.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.config.core.v3.Address listening_addresses = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getListeningAddressesOrBuilderList
in interfaceNodeOrBuilder
-
getListeningAddressesCount
@Deprecated public int getListeningAddressesCount()
Deprecated.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.config.core.v3.Address listening_addresses = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getListeningAddressesCount
in interfaceNodeOrBuilder
-
getListeningAddresses
@Deprecated public Address getListeningAddresses(int index)
Deprecated.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.config.core.v3.Address listening_addresses = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getListeningAddresses
in interfaceNodeOrBuilder
-
getListeningAddressesOrBuilder
@Deprecated public AddressOrBuilder getListeningAddressesOrBuilder(int index)
Deprecated.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.config.core.v3.Address listening_addresses = 11 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getListeningAddressesOrBuilder
in interfaceNodeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-