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.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>
public TracingPB.RPCTInfo.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>
public TracingPB.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>
public TracingPB.RPCTInfo build()
build
in interface com.google.protobuf.MessageLite.Builder
public TracingPB.RPCTInfo buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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.MessageLiteOrBuilder
public TracingPB.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<TracingPB.RPCTInfo.Builder>
IOException
public boolean hasTraceId()
optional int64 trace_id = 1;
hasTraceId
in interface TracingPB.RPCTInfoOrBuilder
public long getTraceId()
optional int64 trace_id = 1;
getTraceId
in interface TracingPB.RPCTInfoOrBuilder
public 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.RPCTInfoOrBuilder
public long getParentId()
optional int64 parent_id = 2;
getParentId
in interface TracingPB.RPCTInfoOrBuilder
public 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