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 type
envoy.config.core.v4alpha.Node| Modifier and Type | Class and Description |
|---|---|
static class |
Node.Builder
Identifies a specific Envoy instance.
|
static class |
Node.UserAgentVersionTypeCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_FEATURES_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
EXTENSIONS_FIELD_NUMBER |
static int |
ID_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 |
| Modifier and Type | Method and Description |
|---|---|
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() |
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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
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(ByteBuffer data) |
static Node |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<Node> |
parser() |
Node.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
public static final int USER_AGENT_NAME_FIELD_NUMBER
public static final int USER_AGENT_VERSION_FIELD_NUMBER
public static final int USER_AGENT_BUILD_VERSION_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER
public static final int CLIENT_FEATURES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Node.UserAgentVersionTypeCase getUserAgentVersionTypeCase()
getUserAgentVersionTypeCase in interface NodeOrBuilderpublic 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;getId in interface NodeOrBuilderpublic 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;getIdBytes in interface NodeOrBuilderpublic 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_config.core.v4alpha.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v4alpha.Runtime>`, :ref:`user agent addition <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.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;getCluster in interface NodeOrBuilderpublic 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_config.core.v4alpha.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v4alpha.Runtime>`, :ref:`user agent addition <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.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;getClusterBytes in interface NodeOrBuilderpublic boolean hasMetadata()
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 3;hasMetadata in interface NodeOrBuilderpublic 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;getMetadata in interface NodeOrBuilderpublic 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;getMetadataOrBuilder in interface NodeOrBuilderpublic boolean hasLocality()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v4alpha.Locality locality = 4;hasLocality in interface NodeOrBuilderpublic Locality getLocality()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v4alpha.Locality locality = 4;getLocality in interface NodeOrBuilderpublic LocalityOrBuilder getLocalityOrBuilder()
Locality specifying where the Envoy instance is running.
.envoy.config.core.v4alpha.Locality locality = 4;getLocalityOrBuilder in interface NodeOrBuilderpublic String getUserAgentName()
Free-form string that identifies the entity requesting config. E.g. "envoy" or "grpc"
string user_agent_name = 6;getUserAgentName in interface NodeOrBuilderpublic com.google.protobuf.ByteString getUserAgentNameBytes()
Free-form string that identifies the entity requesting config. E.g. "envoy" or "grpc"
string user_agent_name = 6;getUserAgentNameBytes in interface NodeOrBuilderpublic 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;getUserAgentVersion in interface NodeOrBuilderpublic 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;getUserAgentVersionBytes in interface NodeOrBuilderpublic boolean hasUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.config.core.v4alpha.BuildVersion user_agent_build_version = 8;hasUserAgentBuildVersion in interface NodeOrBuilderpublic BuildVersion getUserAgentBuildVersion()
Structured version of the entity requesting config.
.envoy.config.core.v4alpha.BuildVersion user_agent_build_version = 8;getUserAgentBuildVersion in interface NodeOrBuilderpublic BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder()
Structured version of the entity requesting config.
.envoy.config.core.v4alpha.BuildVersion user_agent_build_version = 8;getUserAgentBuildVersionOrBuilder in interface NodeOrBuilderpublic List<Extension> getExtensionsList()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v4alpha.Extension extensions = 9;getExtensionsList in interface NodeOrBuilderpublic List<? extends ExtensionOrBuilder> getExtensionsOrBuilderList()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v4alpha.Extension extensions = 9;getExtensionsOrBuilderList in interface NodeOrBuilderpublic int getExtensionsCount()
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v4alpha.Extension extensions = 9;getExtensionsCount in interface NodeOrBuilderpublic Extension getExtensions(int index)
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v4alpha.Extension extensions = 9;getExtensions in interface NodeOrBuilderpublic ExtensionOrBuilder getExtensionsOrBuilder(int index)
List of extensions and their versions supported by the node.
repeated .envoy.config.core.v4alpha.Extension extensions = 9;getExtensionsOrBuilder in interface NodeOrBuilderpublic 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;getClientFeaturesList in interface NodeOrBuilderpublic 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;getClientFeaturesCount in interface NodeOrBuilderpublic 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;getClientFeatures in interface NodeOrBuilderpublic 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;getClientFeaturesBytes in interface NodeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Node parseFrom(InputStream input) throws IOException
IOExceptionpublic static Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Node parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Node.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Node.Builder newBuilder()
public static Node.Builder newBuilder(Node prototype)
public Node.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Node getDefaultInstance()
public static com.google.protobuf.Parser<Node> parser()
public com.google.protobuf.Parser<Node> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.