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 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 intCLIENT_FEATURES_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intDYNAMIC_PARAMETERS_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 booleancontainsDynamicParameters(String key)Map from xDS resource type URL to dynamic context parameters.booleanequals(Object obj)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()Map<String,ContextParams>getDynamicParameters()Deprecated.intgetDynamicParametersCount()Map from xDS resource type URL to dynamic context parameters.Map<String,ContextParams>getDynamicParametersMap()Map from xDS resource type URL to dynamic context parameters.ContextParamsgetDynamicParametersOrDefault(String key, ContextParams defaultValue)Map from xDS resource type URL to dynamic context parameters.ContextParamsgetDynamicParametersOrThrow(String key)Map from xDS resource type URL to dynamic context parameters.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)Deprecated.intgetListeningAddressesCount()Deprecated.List<Address>getListeningAddressesList()Deprecated.AddressOrBuildergetListeningAddressesOrBuilder(int index)Deprecated.List<? extends AddressOrBuilder>getListeningAddressesOrBuilderList()Deprecated.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()protected com.google.protobuf.MapFieldinternalGetMapField(int number)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, 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:
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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
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_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:
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_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:
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
-
getDynamicParametersCount
public int getDynamicParametersCount()
Description copied from interface:NodeOrBuilderMap 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:
getDynamicParametersCountin 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:
containsDynamicParametersin interfaceNodeOrBuilder
-
getDynamicParameters
@Deprecated public Map<String,ContextParams> getDynamicParameters()
Deprecated.UsegetDynamicParametersMap()instead.- Specified by:
getDynamicParametersin 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:
getDynamicParametersMapin 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:
getDynamicParametersOrDefaultin 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:
getDynamicParametersOrThrowin interfaceNodeOrBuilder
-
hasLocality
public boolean hasLocality()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v3.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.config.core.v3.Locality locality = 4;- Specified by:
getLocalityin 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:
getLocalityOrBuilderin 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:
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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.Extension extensions = 9;- Specified by:
getExtensionsOrBuilderListin 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:
getExtensionsCountin 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:
getExtensionsin 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:
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
@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:
getListeningAddressesListin 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:
getListeningAddressesOrBuilderListin 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:
getListeningAddressesCountin 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:
getListeningAddressesin 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:
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
-
-