public static final class TracingPB.RPCTInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder> 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 | Method and Description |
|---|---|
TracingPB.RPCTInfo |
build() |
TracingPB.RPCTInfo |
buildPartial() |
TracingPB.RPCTInfo.Builder |
clear() |
TracingPB.RPCTInfo.Builder |
clearParentId()
optional int64 parent_id = 2; |
TracingPB.RPCTInfo.Builder |
clearTraceId()
optional int64 trace_id = 1; |
TracingPB.RPCTInfo.Builder |
clone() |
TracingPB.RPCTInfo |
getDefaultInstanceForType() |
long |
getParentId()
optional int64 parent_id = 2; |
long |
getTraceId()
optional int64 trace_id = 1; |
boolean |
hasParentId()
optional int64 parent_id = 2; |
boolean |
hasTraceId()
optional int64 trace_id = 1; |
boolean |
isInitialized() |
TracingPB.RPCTInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TracingPB.RPCTInfo.Builder |
mergeFrom(TracingPB.RPCTInfo other) |
TracingPB.RPCTInfo.Builder |
setParentId(long value)
optional int64 parent_id = 2; |
TracingPB.RPCTInfo.Builder |
setTraceId(long value)
optional int64 trace_id = 1; |
public TracingPB.RPCTInfo.Builder clear()
clear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>public TracingPB.RPCTInfo.Builder clone()
clone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>public TracingPB.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>public TracingPB.RPCTInfo build()
build in interface com.google.protobuf.MessageLite.Builderpublic TracingPB.RPCTInfo buildPartial()
buildPartial in interface com.google.protobuf.MessageLite.Builderpublic TracingPB.RPCTInfo.Builder mergeFrom(TracingPB.RPCTInfo other)
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic TracingPB.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<TracingPB.RPCTInfo.Builder>IOExceptionpublic boolean hasTraceId()
optional int64 trace_id = 1;hasTraceId in interface TracingPB.RPCTInfoOrBuilderpublic long getTraceId()
optional int64 trace_id = 1;getTraceId in interface TracingPB.RPCTInfoOrBuilderpublic TracingPB.RPCTInfo.Builder setTraceId(long value)
optional int64 trace_id = 1;public TracingPB.RPCTInfo.Builder clearTraceId()
optional int64 trace_id = 1;public boolean hasParentId()
optional int64 parent_id = 2;hasParentId in interface TracingPB.RPCTInfoOrBuilderpublic long getParentId()
optional int64 parent_id = 2;getParentId in interface TracingPB.RPCTInfoOrBuilderpublic TracingPB.RPCTInfo.Builder setParentId(long value)
optional int64 parent_id = 2;public TracingPB.RPCTInfo.Builder clearParentId()
optional int64 parent_id = 2;Copyright © 2010-2017, The Async HBase Authors