public final class Node extends com.google.protobuf.GeneratedMessageV3 implements NodeOrBuilder
Identifier metadata of the Node that produces the span or tracing data. Note, this is not the metadata about the Node or service that is described by associated spans. In the future we plan to extend the identifier proto definition to support additional information (e.g cloud id, etc.)Protobuf type
opencensus.proto.agent.common.v1.Node| Modifier and Type | Class and Description |
|---|---|
static class |
Node.Builder
Identifier metadata of the Node that produces the span or tracing data.
|
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 |
ATTRIBUTES_FIELD_NUMBER |
static int |
IDENTIFIER_FIELD_NUMBER |
static int |
LIBRARY_INFO_FIELD_NUMBER |
static int |
SERVICE_INFO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttributes(String key)
Additional attributes.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
Deprecated.
|
int |
getAttributesCount()
Additional attributes.
|
Map<String,String> |
getAttributesMap()
Additional attributes.
|
String |
getAttributesOrDefault(String key,
String defaultValue)
Additional attributes.
|
String |
getAttributesOrThrow(String key)
Additional attributes.
|
static Node |
getDefaultInstance() |
Node |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ProcessIdentifier |
getIdentifier()
Identifier that uniquely identifies a process within a VM/container.
|
ProcessIdentifierOrBuilder |
getIdentifierOrBuilder()
Identifier that uniquely identifies a process within a VM/container.
|
LibraryInfo |
getLibraryInfo()
Information on the OpenCensus Library that initiates the stream.
|
LibraryInfoOrBuilder |
getLibraryInfoOrBuilder()
Information on the OpenCensus Library that initiates the stream.
|
com.google.protobuf.Parser<Node> |
getParserForType() |
int |
getSerializedSize() |
ServiceInfo |
getServiceInfo()
Additional information on service.
|
ServiceInfoOrBuilder |
getServiceInfoOrBuilder()
Additional information on service.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasIdentifier()
Identifier that uniquely identifies a process within a VM/container.
|
boolean |
hasLibraryInfo()
Information on the OpenCensus Library that initiates the stream.
|
boolean |
hasServiceInfo()
Additional information on service.
|
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(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, 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 IDENTIFIER_FIELD_NUMBER
public static final int LIBRARY_INFO_FIELD_NUMBER
public static final int SERVICE_INFO_FIELD_NUMBER
public static final int ATTRIBUTES_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasIdentifier()
Identifier that uniquely identifies a process within a VM/container.
.opencensus.proto.agent.common.v1.ProcessIdentifier identifier = 1;hasIdentifier in interface NodeOrBuilderpublic ProcessIdentifier getIdentifier()
Identifier that uniquely identifies a process within a VM/container.
.opencensus.proto.agent.common.v1.ProcessIdentifier identifier = 1;getIdentifier in interface NodeOrBuilderpublic ProcessIdentifierOrBuilder getIdentifierOrBuilder()
Identifier that uniquely identifies a process within a VM/container.
.opencensus.proto.agent.common.v1.ProcessIdentifier identifier = 1;getIdentifierOrBuilder in interface NodeOrBuilderpublic boolean hasLibraryInfo()
Information on the OpenCensus Library that initiates the stream.
.opencensus.proto.agent.common.v1.LibraryInfo library_info = 2;hasLibraryInfo in interface NodeOrBuilderpublic LibraryInfo getLibraryInfo()
Information on the OpenCensus Library that initiates the stream.
.opencensus.proto.agent.common.v1.LibraryInfo library_info = 2;getLibraryInfo in interface NodeOrBuilderpublic LibraryInfoOrBuilder getLibraryInfoOrBuilder()
Information on the OpenCensus Library that initiates the stream.
.opencensus.proto.agent.common.v1.LibraryInfo library_info = 2;getLibraryInfoOrBuilder in interface NodeOrBuilderpublic boolean hasServiceInfo()
Additional information on service.
.opencensus.proto.agent.common.v1.ServiceInfo service_info = 3;hasServiceInfo in interface NodeOrBuilderpublic ServiceInfo getServiceInfo()
Additional information on service.
.opencensus.proto.agent.common.v1.ServiceInfo service_info = 3;getServiceInfo in interface NodeOrBuilderpublic ServiceInfoOrBuilder getServiceInfoOrBuilder()
Additional information on service.
.opencensus.proto.agent.common.v1.ServiceInfo service_info = 3;getServiceInfoOrBuilder in interface NodeOrBuilderpublic int getAttributesCount()
NodeOrBuilderAdditional attributes.
map<string, string> attributes = 4;getAttributesCount in interface NodeOrBuilderpublic boolean containsAttributes(String key)
Additional attributes.
map<string, string> attributes = 4;containsAttributes in interface NodeOrBuilder@Deprecated public Map<String,String> getAttributes()
getAttributesMap() instead.getAttributes in interface NodeOrBuilderpublic Map<String,String> getAttributesMap()
Additional attributes.
map<string, string> attributes = 4;getAttributesMap in interface NodeOrBuilderpublic String getAttributesOrDefault(String key, String defaultValue)
Additional attributes.
map<string, string> attributes = 4;getAttributesOrDefault in interface NodeOrBuilderpublic String getAttributesOrThrow(String key)
Additional attributes.
map<string, string> attributes = 4;getAttributesOrThrow 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.