public static final class Base.Node extends com.google.protobuf.GeneratedMessageV3 implements Base.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.
Protobuf type envoy.api.v2.core.Node
| Modifier and Type | Class and Description |
|---|---|
static class |
Base.Node.Builder
Identifies a specific Envoy instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BUILD_VERSION_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LOCALITY_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBuildVersion()
This is motivated by informing a management server during canary which
version of Envoy is being tested in a heterogeneous fleet.
|
com.google.protobuf.ByteString |
getBuildVersionBytes()
This is motivated by informing a management server during canary which
version of Envoy is being tested in a heterogeneous fleet.
|
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 Base.Node |
getDefaultInstance() |
Base.Node |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
An opaque node identifier for the Envoy node.
|
com.google.protobuf.ByteString |
getIdBytes()
An opaque node identifier for the Envoy node.
|
Base.Locality |
getLocality()
Locality specifying where the Envoy instance is running.
|
Base.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<Base.Node> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLocality()
Locality specifying where the Envoy instance is running.
|
boolean |
hasMetadata()
Opaque metadata extending the node identifier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Base.Node.Builder |
newBuilder() |
static Base.Node.Builder |
newBuilder(Base.Node prototype) |
Base.Node.Builder |
newBuilderForType() |
protected Base.Node.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Base.Node |
parseDelimitedFrom(InputStream input) |
static Base.Node |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Base.Node |
parseFrom(byte[] data) |
static Base.Node |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Base.Node |
parseFrom(ByteBuffer data) |
static Base.Node |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Base.Node |
parseFrom(com.google.protobuf.ByteString data) |
static Base.Node |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Base.Node |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Base.Node |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Base.Node |
parseFrom(InputStream input) |
static Base.Node |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Base.Node> |
parser() |
Base.Node.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int 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 BUILD_VERSION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 Base.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 Base.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_core.HealthCheck.HttpHealthCheck.service_name>`, :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;getCluster in interface Base.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_core.HealthCheck.HttpHealthCheck.service_name>`, :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;getClusterBytes in interface Base.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 Base.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 Base.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 Base.NodeOrBuilderpublic boolean hasLocality()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;hasLocality in interface Base.NodeOrBuilderpublic Base.Locality getLocality()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;getLocality in interface Base.NodeOrBuilderpublic Base.LocalityOrBuilder getLocalityOrBuilder()
Locality specifying where the Envoy instance is running.
.envoy.api.v2.core.Locality locality = 4;getLocalityOrBuilder in interface Base.NodeOrBuilderpublic String getBuildVersion()
This 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.
string build_version = 5;getBuildVersion in interface Base.NodeOrBuilderpublic com.google.protobuf.ByteString getBuildVersionBytes()
This 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.
string build_version = 5;getBuildVersionBytes in interface Base.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 Base.Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Base.Node parseFrom(InputStream input) throws IOException
IOExceptionpublic static Base.Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Base.Node parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Base.Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Base.Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Base.Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Base.Node.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Base.Node.Builder newBuilder()
public static Base.Node.Builder newBuilder(Base.Node prototype)
public Base.Node.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Base.Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Base.Node getDefaultInstance()
public static com.google.protobuf.Parser<Base.Node> parser()
public com.google.protobuf.Parser<Base.Node> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Base.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.