public static final class TracingPB.RPCTInfo extends com.google.protobuf.GeneratedMessageLite 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 | Class and Description |
---|---|
static class |
TracingPB.RPCTInfo.Builder
Protobuf type
RPCTInfo |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
PARENT_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<TracingPB.RPCTInfo> |
PARSER |
static int |
TRACE_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static TracingPB.RPCTInfo |
getDefaultInstance() |
TracingPB.RPCTInfo |
getDefaultInstanceForType() |
long |
getParentId()
optional int64 parent_id = 2; |
com.google.protobuf.Parser<TracingPB.RPCTInfo> |
getParserForType() |
int |
getSerializedSize() |
long |
getTraceId()
optional int64 trace_id = 1; |
boolean |
hasParentId()
optional int64 parent_id = 2; |
boolean |
hasTraceId()
optional int64 trace_id = 1; |
boolean |
isInitialized() |
static TracingPB.RPCTInfo.Builder |
newBuilder() |
static TracingPB.RPCTInfo.Builder |
newBuilder(TracingPB.RPCTInfo prototype) |
TracingPB.RPCTInfo.Builder |
newBuilderForType() |
static TracingPB.RPCTInfo |
parseDelimitedFrom(InputStream input) |
static TracingPB.RPCTInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(byte[] data) |
static TracingPB.RPCTInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.ByteString data) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TracingPB.RPCTInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TracingPB.RPCTInfo |
parseFrom(InputStream input) |
static TracingPB.RPCTInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TracingPB.RPCTInfo.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<TracingPB.RPCTInfo> PARSER
public static final int TRACE_ID_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER
public static TracingPB.RPCTInfo getDefaultInstance()
public TracingPB.RPCTInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<TracingPB.RPCTInfo> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TracingPB.RPCTInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TracingPB.RPCTInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TracingPB.RPCTInfo parseFrom(InputStream input) throws IOException
IOException
public static TracingPB.RPCTInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TracingPB.RPCTInfo.Builder newBuilder()
public TracingPB.RPCTInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TracingPB.RPCTInfo.Builder newBuilder(TracingPB.RPCTInfo prototype)
public TracingPB.RPCTInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors