public static final class RpcHeaderProtos.RPCTraceInfoProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCTraceInfoProto.Builder> implements RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
hadoop.common.RPCTraceInfoProto
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.
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<RpcHeaderProtos.RPCTraceInfoProto.Builder>
public RpcHeaderProtos.RPCTraceInfoProto.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<RpcHeaderProtos.RPCTraceInfoProto.Builder>
public RpcHeaderProtos.RPCTraceInfoProto.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<RpcHeaderProtos.RPCTraceInfoProto.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<RpcHeaderProtos.RPCTraceInfoProto.Builder>
public RpcHeaderProtos.RPCTraceInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RPCTraceInfoProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RPCTraceInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RpcHeaderProtos.RPCTraceInfoProto.Builder>
public RpcHeaderProtos.RPCTraceInfoProto.Builder mergeFrom(RpcHeaderProtos.RPCTraceInfoProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RPCTraceInfoProto.Builder>
public RpcHeaderProtos.RPCTraceInfoProto.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<RpcHeaderProtos.RPCTraceInfoProto.Builder>
IOException
public boolean hasTraceId()
optional int64 traceId = 1;
parentIdHigh
hasTraceId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public long getTraceId()
optional int64 traceId = 1;
parentIdHigh
getTraceId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto.Builder setTraceId(long value)
optional int64 traceId = 1;
parentIdHigh
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearTraceId()
optional int64 traceId = 1;
parentIdHigh
public boolean hasParentId()
optional int64 parentId = 2;
parentIdLow
hasParentId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public long getParentId()
optional int64 parentId = 2;
parentIdLow
getParentId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto.Builder setParentId(long value)
optional int64 parentId = 2;
parentIdLow
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearParentId()
optional int64 parentId = 2;
parentIdLow
Copyright © 2017 Apache Software Foundation. All Rights Reserved.