org.hbase.async.generated
Class TracingPB.RPCTInfo

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by 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 Class Summary
static class TracingPB.RPCTInfo.Builder
          Protobuf type RPCTInfo
 
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>
 
Field Summary
static int PARENT_ID_FIELD_NUMBER
           
static com.google.protobuf.Parser<TracingPB.RPCTInfo> PARSER
           
static int TRACE_ID_FIELD_NUMBER
           
 
Method Summary
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)
           
 
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
 

Field Detail

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
Method Detail

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