public static final class TracingPB.RPCTInfo extends com.google.protobuf.GeneratedMessageLite<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder> implements TracingPB.RPCTInfoOrBuilder
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
RPCTInfo| Modifier and Type | Class and Description |
|---|---|
static class |
TracingPB.RPCTInfo.Builder
Used to pass through the information necessary to continue
a trace after an RPC is made.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Field and Description |
|---|---|
static int |
PARENT_ID_FIELD_NUMBER |
static int |
TRACE_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static TracingPB.RPCTInfo |
getDefaultInstance() |
long |
getParentId()
optional int64 parent_id = 2; |
int |
getSerializedSize() |
long |
getTraceId()
optional int64 trace_id = 1; |
boolean |
hasParentId()
optional int64 parent_id = 2; |
boolean |
hasTraceId()
optional int64 trace_id = 1; |
static TracingPB.RPCTInfo.Builder |
newBuilder() |
static TracingPB.RPCTInfo.Builder |
newBuilder(TracingPB.RPCTInfo prototype) |
static TracingPB.RPCTInfo |
parseDelimitedFrom(InputStream input) |
static TracingPB.RPCTInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(byte[] data) |
static TracingPB.RPCTInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(ByteBuffer data) |
static TracingPB.RPCTInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.ByteString data) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(InputStream input) |
static TracingPB.RPCTInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TracingPB.RPCTInfo> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TRACE_ID_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER
public boolean hasTraceId()
optional int64 trace_id = 1;hasTraceId in interface TracingPB.RPCTInfoOrBuilderpublic long getTraceId()
optional int64 trace_id = 1;getTraceId in interface TracingPB.RPCTInfoOrBuilderpublic boolean hasParentId()
optional int64 parent_id = 2;hasParentId in interface TracingPB.RPCTInfoOrBuilderpublic long getParentId()
optional int64 parent_id = 2;getParentId in interface TracingPB.RPCTInfoOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static TracingPB.RPCTInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TracingPB.RPCTInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TracingPB.RPCTInfo.Builder newBuilder()
public static TracingPB.RPCTInfo.Builder newBuilder(TracingPB.RPCTInfo prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>public static TracingPB.RPCTInfo getDefaultInstance()
public static com.google.protobuf.Parser<TracingPB.RPCTInfo> parser()
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.