public static final class RpcHeaderProtos.RPCTraceInfoProto extends com.google.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.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
PARENTID_FIELD_NUMBER |
static com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getParentId()
parentIdLow
|
com.google.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> |
getParserForType() |
int |
getSerializedSize() |
long |
getTraceId()
parentIdHigh
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasParentId()
parentIdLow
|
boolean |
hasTraceId()
parentIdHigh
|
protected com.google.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseDelimitedFrom(InputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(byte[] data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(ByteBuffer data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(com.google.protobuf.ByteString data) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(InputStream input) |
static RpcHeaderProtos.RPCTraceInfoProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> |
parser() |
RpcHeaderProtos.RPCTraceInfoProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TRACEID_FIELD_NUMBER
public static final int PARENTID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuilderpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public 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 com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static RpcHeaderProtos.RPCTraceInfoProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RPCTraceInfoProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilderForType()
public static RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilder()
public static RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilder(RpcHeaderProtos.RPCTraceInfoProto prototype)
public RpcHeaderProtos.RPCTraceInfoProto.Builder toBuilder()
protected RpcHeaderProtos.RPCTraceInfoProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static RpcHeaderProtos.RPCTraceInfoProto getDefaultInstance()
public static com.google.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> parser()
public com.google.protobuf.Parser<RpcHeaderProtos.RPCTraceInfoProto> getParserForType()
public RpcHeaderProtos.RPCTraceInfoProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.