public static final class TracingProtos.RPCTInfo.Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder> implements TracingProtos.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
hbase.pb.RPCTInfo| Modifier and Type | Method and Description |
|---|---|
TracingProtos.RPCTInfo.Builder |
addRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TracingProtos.RPCTInfo |
build() |
TracingProtos.RPCTInfo |
buildPartial() |
TracingProtos.RPCTInfo.Builder |
clear() |
TracingProtos.RPCTInfo.Builder |
clearField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) |
TracingProtos.RPCTInfo.Builder |
clearOneof(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TracingProtos.RPCTInfo.Builder |
clearParentId()
optional int64 parent_id = 2; |
TracingProtos.RPCTInfo.Builder |
clearTraceId()
optional int64 trace_id = 1; |
TracingProtos.RPCTInfo.Builder |
clone() |
TracingProtos.RPCTInfo |
getDefaultInstanceForType() |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TracingProtos.RPCTInfo.Builder |
mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TracingProtos.RPCTInfo.Builder |
mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) |
TracingProtos.RPCTInfo.Builder |
mergeFrom(TracingProtos.RPCTInfo other) |
TracingProtos.RPCTInfo.Builder |
mergeUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) |
TracingProtos.RPCTInfo.Builder |
setField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TracingProtos.RPCTInfo.Builder |
setParentId(long value)
optional int64 parent_id = 2; |
TracingProtos.RPCTInfo.Builder |
setRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TracingProtos.RPCTInfo.Builder |
setTraceId(long value)
optional int64 trace_id = 1; |
TracingProtos.RPCTInfo.Builder |
setUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder clear()
clear in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderclear in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderclear in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilderpublic TracingProtos.RPCTInfo build()
build in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderbuild in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderpublic TracingProtos.RPCTInfo buildPartial()
buildPartial in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderbuildPartial in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderpublic TracingProtos.RPCTInfo.Builder clone()
clone in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.Builderclone in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.Builderclone in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder setField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder clearField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderclearField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder clearOneof(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderclearOneof in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder setRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetRepeatedField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder addRepeatedField(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuilderaddRepeatedField in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other)
mergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeFrom in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessage.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder mergeFrom(TracingProtos.RPCTInfo other)
public final boolean isInitialized()
isInitialized in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public TracingProtos.RPCTInfo.Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeFrom in interface org.apache.hbase.thirdparty.com.google.protobuf.MessageLite.BuildermergeFrom in class org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessage.Builder<TracingProtos.RPCTInfo.Builder>IOExceptionpublic boolean hasTraceId()
optional int64 trace_id = 1;hasTraceId in interface TracingProtos.RPCTInfoOrBuilderpublic long getTraceId()
optional int64 trace_id = 1;getTraceId in interface TracingProtos.RPCTInfoOrBuilderpublic TracingProtos.RPCTInfo.Builder setTraceId(long value)
optional int64 trace_id = 1;public TracingProtos.RPCTInfo.Builder clearTraceId()
optional int64 trace_id = 1;public boolean hasParentId()
optional int64 parent_id = 2;hasParentId in interface TracingProtos.RPCTInfoOrBuilderpublic long getParentId()
optional int64 parent_id = 2;getParentId in interface TracingProtos.RPCTInfoOrBuilderpublic TracingProtos.RPCTInfo.Builder setParentId(long value)
optional int64 parent_id = 2;public TracingProtos.RPCTInfo.Builder clearParentId()
optional int64 parent_id = 2;public final TracingProtos.RPCTInfo.Builder setUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildersetUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>public final TracingProtos.RPCTInfo.Builder mergeUnknownFields(org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hbase.thirdparty.com.google.protobuf.Message.BuildermergeUnknownFields in class org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder<TracingProtos.RPCTInfo.Builder>Copyright © 2007–2019 Cloudera. All rights reserved.