org.apache.hadoop.hbase.protobuf.generated
Class TracingProtos.RPCTInfo.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TracingProtos.RPCTInfoOrBuilder
Enclosing class:
TracingProtos.RPCTInfo

public static final class TracingProtos.RPCTInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>
implements TracingProtos.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
 TracingProtos.RPCTInfo build()
           
 TracingProtos.RPCTInfo buildPartial()
           
 TracingProtos.RPCTInfo.Builder clear()
           
 TracingProtos.RPCTInfo.Builder clearParentId()
          optional int64 parent_id = 2;
 TracingProtos.RPCTInfo.Builder clearTraceId()
          optional int64 trace_id = 1;
 TracingProtos.RPCTInfo.Builder clone()
           
 TracingProtos.RPCTInfo getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 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;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 TracingProtos.RPCTInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TracingProtos.RPCTInfo.Builder mergeFrom(com.google.protobuf.Message other)
           
 TracingProtos.RPCTInfo.Builder mergeFrom(TracingProtos.RPCTInfo other)
           
 TracingProtos.RPCTInfo.Builder setParentId(long value)
          optional int64 parent_id = 2;
 TracingProtos.RPCTInfo.Builder setTraceId(long value)
          optional int64 trace_id = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>

clear

public TracingProtos.RPCTInfo.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>

clone

public TracingProtos.RPCTInfo.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>

getDefaultInstanceForType

public TracingProtos.RPCTInfo getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public TracingProtos.RPCTInfo.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TracingProtos.RPCTInfo.Builder>

mergeFrom

public TracingProtos.RPCTInfo.Builder mergeFrom(TracingProtos.RPCTInfo other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TracingProtos.RPCTInfo.Builder>

mergeFrom

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

hasTraceId

public boolean hasTraceId()
optional int64 trace_id = 1;

Specified by:
hasTraceId in interface TracingProtos.RPCTInfoOrBuilder

getTraceId

public long getTraceId()
optional int64 trace_id = 1;

Specified by:
getTraceId in interface TracingProtos.RPCTInfoOrBuilder

setTraceId

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


clearTraceId

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


hasParentId

public boolean hasParentId()
optional int64 parent_id = 2;

Specified by:
hasParentId in interface TracingProtos.RPCTInfoOrBuilder

getParentId

public long getParentId()
optional int64 parent_id = 2;

Specified by:
getParentId in interface TracingProtos.RPCTInfoOrBuilder

setParentId

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


clearParentId

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



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.