org.hbase.async.generated
Class TracingPB.RPCTInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.hbase.async.generated.TracingPB.RPCTInfo
- All Implemented Interfaces:
- com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, TracingPB.RPCTInfoOrBuilder
- Enclosing class:
- TracingPB
public static final class TracingPB.RPCTInfo
- extends com.google.protobuf.GeneratedMessageLite
- implements TracingPB.RPCTInfoOrBuilder
Protobuf type 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.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
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> |
Methods inherited from class com.google.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER
public static com.google.protobuf.Parser<TracingPB.RPCTInfo> PARSER
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
PARENT_ID_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static TracingPB.RPCTInfo getDefaultInstance()
getDefaultInstanceForType
public TracingPB.RPCTInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getParserForType
public com.google.protobuf.Parser<TracingPB.RPCTInfo> getParserForType()
- Specified by:
getParserForType
in interface com.google.protobuf.MessageLite
- Overrides:
getParserForType
in class com.google.protobuf.GeneratedMessageLite
hasTraceId
public boolean hasTraceId()
optional int64 trace_id = 1;
- Specified by:
hasTraceId
in interface TracingPB.RPCTInfoOrBuilder
getTraceId
public long getTraceId()
optional int64 trace_id = 1;
- Specified by:
getTraceId
in interface TracingPB.RPCTInfoOrBuilder
hasParentId
public boolean hasParentId()
optional int64 parent_id = 2;
- Specified by:
hasParentId
in interface TracingPB.RPCTInfoOrBuilder
getParentId
public long getParentId()
optional int64 parent_id = 2;
- Specified by:
getParentId
in interface TracingPB.RPCTInfoOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
writeReplace
protected Object writeReplace()
throws ObjectStreamException
- Overrides:
writeReplace
in class com.google.protobuf.GeneratedMessageLite
- Throws:
ObjectStreamException
parseFrom
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TracingPB.RPCTInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TracingPB.RPCTInfo parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TracingPB.RPCTInfo parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static TracingPB.RPCTInfo parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static TracingPB.RPCTInfo parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static TracingPB.RPCTInfo parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static TracingPB.RPCTInfo.Builder newBuilder()
newBuilderForType
public TracingPB.RPCTInfo.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static TracingPB.RPCTInfo.Builder newBuilder(TracingPB.RPCTInfo prototype)
toBuilder
public TracingPB.RPCTInfo.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2015, The Async HBase Authors