org.hbase.async.generated
Class TracingPB.RPCTInfo.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>
          extended by org.hbase.async.generated.TracingPB.RPCTInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, TracingPB.RPCTInfoOrBuilder
Enclosing class:
TracingPB.RPCTInfo

public static final class TracingPB.RPCTInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>
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.
 


Method Summary
 TracingPB.RPCTInfo build()
           
 TracingPB.RPCTInfo buildPartial()
           
 TracingPB.RPCTInfo.Builder clear()
           
 TracingPB.RPCTInfo.Builder clearParentId()
          optional int64 parent_id = 2;
 TracingPB.RPCTInfo.Builder clearTraceId()
          optional int64 trace_id = 1;
 TracingPB.RPCTInfo.Builder clone()
           
 TracingPB.RPCTInfo getDefaultInstanceForType()
           
 long getParentId()
          optional int64 parent_id = 2;
 long getTraceId()
          optional int64 trace_id = 1;
 boolean hasParentId()
          optional int64 parent_id = 2;
 boolean hasTraceId()
          optional int64 trace_id = 1;
 boolean isInitialized()
           
 TracingPB.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TracingPB.RPCTInfo.Builder mergeFrom(TracingPB.RPCTInfo other)
           
 TracingPB.RPCTInfo.Builder setParentId(long value)
          optional int64 parent_id = 2;
 TracingPB.RPCTInfo.Builder setTraceId(long value)
          optional int64 trace_id = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public TracingPB.RPCTInfo.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>

clone

public TracingPB.RPCTInfo.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>

getDefaultInstanceForType

public TracingPB.RPCTInfo getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>

build

public TracingPB.RPCTInfo build()
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public TracingPB.RPCTInfo buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public TracingPB.RPCTInfo.Builder mergeFrom(TracingPB.RPCTInfo other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<TracingPB.RPCTInfo,TracingPB.RPCTInfo.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public TracingPB.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<TracingPB.RPCTInfo.Builder>
Throws:
IOException

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

setTraceId

public TracingPB.RPCTInfo.Builder setTraceId(long value)
optional int64 trace_id = 1;


clearTraceId

public TracingPB.RPCTInfo.Builder clearTraceId()
optional int64 trace_id = 1;


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

setParentId

public TracingPB.RPCTInfo.Builder setParentId(long value)
optional int64 parent_id = 2;


clearParentId

public TracingPB.RPCTInfo.Builder clearParentId()
optional int64 parent_id = 2;



Copyright © 2010-2015, The Async HBase Authors