public static final class RpcHeaderProtos.RPCTraceInfoProto.Builder extends <any> implements RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
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
hadoop.common.RPCTraceInfoProto
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public RpcHeaderProtos.RPCTraceInfoProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto build()
public RpcHeaderProtos.RPCTraceInfoProto buildPartial()
public RpcHeaderProtos.RPCTraceInfoProto.Builder clone()
public RpcHeaderProtos.RPCTraceInfoProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public RpcHeaderProtos.RPCTraceInfoProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public RpcHeaderProtos.RPCTraceInfoProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RpcHeaderProtos.RPCTraceInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
public RpcHeaderProtos.RPCTraceInfoProto.Builder mergeFrom(RpcHeaderProtos.RPCTraceInfoProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public boolean hasTraceId()
parentIdHigh
optional int64 traceId = 1;
hasTraceId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public long getTraceId()
parentIdHigh
optional int64 traceId = 1;
getTraceId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto.Builder setTraceId(long value)
parentIdHigh
optional int64 traceId = 1;
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearTraceId()
parentIdHigh
optional int64 traceId = 1;
public boolean hasParentId()
parentIdLow
optional int64 parentId = 2;
hasParentId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public long getParentId()
parentIdLow
optional int64 parentId = 2;
getParentId
in interface RpcHeaderProtos.RPCTraceInfoProtoOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto.Builder setParentId(long value)
parentIdLow
optional int64 parentId = 2;
public RpcHeaderProtos.RPCTraceInfoProto.Builder clearParentId()
parentIdLow
optional int64 parentId = 2;
public final RpcHeaderProtos.RPCTraceInfoProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final RpcHeaderProtos.RPCTraceInfoProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.