public static final class TracingProtos.RPCTInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder> implements TracingProtos.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 |
---|---|
TracingProtos.RPCTInfo |
build() |
TracingProtos.RPCTInfo |
buildPartial() |
TracingProtos.RPCTInfo.Builder |
clear() |
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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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 com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TracingProtos.RPCTInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TracingProtos.RPCTInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
TracingProtos.RPCTInfo.Builder |
mergeFrom(TracingProtos.RPCTInfo other) |
TracingProtos.RPCTInfo.Builder |
setParentId(long value)
optional int64 parent_id = 2; |
TracingProtos.RPCTInfo.Builder |
setTraceId(long value)
optional int64 trace_id = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
public TracingProtos.RPCTInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
public TracingProtos.RPCTInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
public TracingProtos.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TracingProtos.RPCTInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TracingProtos.RPCTInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TracingProtos.RPCTInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TracingProtos.RPCTInfo.Builder>
public TracingProtos.RPCTInfo.Builder mergeFrom(TracingProtos.RPCTInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
public TracingProtos.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TracingProtos.RPCTInfo.Builder>
IOException
public boolean hasTraceId()
optional int64 trace_id = 1;
hasTraceId
in interface TracingProtos.RPCTInfoOrBuilder
public long getTraceId()
optional int64 trace_id = 1;
getTraceId
in interface TracingProtos.RPCTInfoOrBuilder
public 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.RPCTInfoOrBuilder
public long getParentId()
optional int64 parent_id = 2;
getParentId
in interface TracingProtos.RPCTInfoOrBuilder
public TracingProtos.RPCTInfo.Builder setParentId(long value)
optional int64 parent_id = 2;
public TracingProtos.RPCTInfo.Builder clearParentId()
optional int64 parent_id = 2;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.