public static final class RpcHeaderProtos.RPCTraceInfoProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
Used to pass through the information necessary to continue a trace after an RPC is made. All we need is the traceid (so we know the overarching trace this message is a part of), and the id of the current span when this message was sent, so we know what span caused the new span we will create when this message is received.Protobuf type
hadoop.common.RPCTraceInfoProto| Modifier and Type | Class and Description |
|---|---|
static class |
RpcHeaderProtos.RPCTraceInfoProto.Builder
Used to pass through the information necessary to continue
a trace after an RPC is made.
|
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
PARENTID_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> |
PARSER
Deprecated.
|
static int |
TRACEID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RpcHeaderProtos.RPCTraceInfoProto |
getDefaultInstance() |
RpcHeaderProtos.RPCTraceInfoProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getParentId()
parentIdLow
|
org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> |
getParserForType() |
int |
getSerializedSize() |
long |
getTraceId()
parentIdHigh
|
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasParentId()
parentIdLow
|
boolean |
hasTraceId()
parentIdHigh
|
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RpcHeaderProtos.RPCTraceInfoProto.Builder |
newBuilder() |
static RpcHeaderProtos.RPCTraceInfoProto.Builder |
newBuilder(RpcHeaderProtos.RPCTraceInfoProto prototype) |
RpcHeaderProtos.RPCTraceInfoProto.Builder |
newBuilderForType() |
protected RpcHeaderProtos.RPCTraceInfoProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseDelimitedFrom(InputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(byte[] data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(ByteBuffer data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(InputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> |
parser() |
RpcHeaderProtos.RPCTraceInfoProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 TRACEID_FIELD_NUMBER
public static final int PARENTID_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean hasTraceId()
parentIdHigh
optional int64 traceId = 1;hasTraceId in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilderpublic long getTraceId()
parentIdHigh
optional int64 traceId = 1;getTraceId in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilderpublic boolean hasParentId()
parentIdLow
optional int64 parentId = 2;hasParentId in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilderpublic long getParentId()
parentIdLow
optional int64 parentId = 2;getParentId in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLitewriteTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hadoop.thirdparty.protobuf.Messageequals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hadoop.thirdparty.protobuf.MessagehashCode in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilderForType()
newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessagenewBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitepublic static RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilder()
public static RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilder(RpcHeaderProtos.RPCTraceInfoProto prototype)
public RpcHeaderProtos.RPCTraceInfoProto.Builder toBuilder()
toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessagetoBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteprotected RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static RpcHeaderProtos.RPCTraceInfoProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> getParserForType()
getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessagegetParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public RpcHeaderProtos.RPCTraceInfoProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderCopyright © 2008–2021 Apache Software Foundation. All rights reserved.