public static final class TracingPB.RPCTInfo extends com.google.protobuf.GeneratedMessageLite implements TracingPB.RPCTInfoOrBuilder
RPCTInfo
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
TracingPB.RPCTInfo.Builder
Protobuf type
RPCTInfo |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
PARENT_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<TracingPB.RPCTInfo> |
PARSER |
static int |
TRACE_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static TracingPB.RPCTInfo |
getDefaultInstance() |
TracingPB.RPCTInfo |
getDefaultInstanceForType() |
long |
getParentId()
optional int64 parent_id = 2; |
com.google.protobuf.Parser<TracingPB.RPCTInfo> |
getParserForType() |
int |
getSerializedSize() |
long |
getTraceId()
optional int64 trace_id = 1; |
boolean |
hasParentId()
optional int64 parent_id = 2; |
boolean |
hasTraceId()
optional int64 trace_id = 1; |
boolean |
isInitialized() |
static TracingPB.RPCTInfo.Builder |
newBuilder() |
static TracingPB.RPCTInfo.Builder |
newBuilder(TracingPB.RPCTInfo prototype) |
TracingPB.RPCTInfo.Builder |
newBuilderForType() |
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(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) |
TracingPB.RPCTInfo.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<TracingPB.RPCTInfo> PARSER
public static final int TRACE_ID_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER
public static TracingPB.RPCTInfo getDefaultInstance()
public TracingPB.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<TracingPB.RPCTInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic 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 TracingPB.RPCTInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static TracingPB.RPCTInfo.Builder newBuilder(TracingPB.RPCTInfo prototype)
public TracingPB.RPCTInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors