org.apache.hadoop.hbase.protobuf.generated
Class RPCProtos.RequestHeader

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeader
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RPCProtos.RequestHeaderOrBuilder
Enclosing class:
RPCProtos

public static final class RPCProtos.RequestHeader
extends com.google.protobuf.GeneratedMessage
implements RPCProtos.RequestHeaderOrBuilder

Protobuf type RequestHeader

 Header sent making a request.
 

See Also:
Serialized Form

Nested Class Summary
static class RPCProtos.RequestHeader.Builder
          Protobuf type RequestHeader
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int CALL_ID_FIELD_NUMBER
           
static int CELL_BLOCK_META_FIELD_NUMBER
           
static int METHOD_NAME_FIELD_NUMBER
           
static com.google.protobuf.Parser<RPCProtos.RequestHeader> PARSER
           
static int PRIORITY_FIELD_NUMBER
           
static int REQUEST_PARAM_FIELD_NUMBER
           
static int TRACE_INFO_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 int getCallId()
          optional uint32 call_id = 1;
 RPCProtos.CellBlockMeta getCellBlockMeta()
          optional .CellBlockMeta cell_block_meta = 5;
 RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
          optional .CellBlockMeta cell_block_meta = 5;
static RPCProtos.RequestHeader getDefaultInstance()
           
 RPCProtos.RequestHeader getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getMethodName()
          optional string method_name = 3;
 com.google.protobuf.ByteString getMethodNameBytes()
          optional string method_name = 3;
 com.google.protobuf.Parser<RPCProtos.RequestHeader> getParserForType()
           
 int getPriority()
          optional uint32 priority = 6;
 boolean getRequestParam()
          optional bool request_param = 4;
 int getSerializedSize()
           
 TracingProtos.RPCTInfo getTraceInfo()
          optional .RPCTInfo trace_info = 2;
 TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
          optional .RPCTInfo trace_info = 2;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasCallId()
          optional uint32 call_id = 1;
 boolean hasCellBlockMeta()
          optional .CellBlockMeta cell_block_meta = 5;
 int hashCode()
           
 boolean hasMethodName()
          optional string method_name = 3;
 boolean hasPriority()
          optional uint32 priority = 6;
 boolean hasRequestParam()
          optional bool request_param = 4;
 boolean hasTraceInfo()
          optional .RPCTInfo trace_info = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static RPCProtos.RequestHeader.Builder newBuilder()
           
static RPCProtos.RequestHeader.Builder newBuilder(RPCProtos.RequestHeader prototype)
           
 RPCProtos.RequestHeader.Builder newBuilderForType()
           
protected  RPCProtos.RequestHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input)
           
static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCProtos.RequestHeader parseFrom(byte[] data)
           
static RPCProtos.RequestHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data)
           
static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input)
           
static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCProtos.RequestHeader parseFrom(InputStream input)
           
static RPCProtos.RequestHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 RPCProtos.RequestHeader.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<RPCProtos.RequestHeader> PARSER

CALL_ID_FIELD_NUMBER

public static final int CALL_ID_FIELD_NUMBER
See Also:
Constant Field Values

TRACE_INFO_FIELD_NUMBER

public static final int TRACE_INFO_FIELD_NUMBER
See Also:
Constant Field Values

METHOD_NAME_FIELD_NUMBER

public static final int METHOD_NAME_FIELD_NUMBER
See Also:
Constant Field Values

REQUEST_PARAM_FIELD_NUMBER

public static final int REQUEST_PARAM_FIELD_NUMBER
See Also:
Constant Field Values

CELL_BLOCK_META_FIELD_NUMBER

public static final int CELL_BLOCK_META_FIELD_NUMBER
See Also:
Constant Field Values

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static RPCProtos.RequestHeader getDefaultInstance()

getDefaultInstanceForType

public RPCProtos.RequestHeader getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

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

getParserForType

public com.google.protobuf.Parser<RPCProtos.RequestHeader> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasCallId

public boolean hasCallId()
optional uint32 call_id = 1;
 Monotonically increasing call_id to keep track of RPC requests and their response
 

Specified by:
hasCallId in interface RPCProtos.RequestHeaderOrBuilder

getCallId

public int getCallId()
optional uint32 call_id = 1;
 Monotonically increasing call_id to keep track of RPC requests and their response
 

Specified by:
getCallId in interface RPCProtos.RequestHeaderOrBuilder

hasTraceInfo

public boolean hasTraceInfo()
optional .RPCTInfo trace_info = 2;

Specified by:
hasTraceInfo in interface RPCProtos.RequestHeaderOrBuilder

getTraceInfo

public TracingProtos.RPCTInfo getTraceInfo()
optional .RPCTInfo trace_info = 2;

Specified by:
getTraceInfo in interface RPCProtos.RequestHeaderOrBuilder

getTraceInfoOrBuilder

public TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .RPCTInfo trace_info = 2;

Specified by:
getTraceInfoOrBuilder in interface RPCProtos.RequestHeaderOrBuilder

hasMethodName

public boolean hasMethodName()
optional string method_name = 3;

Specified by:
hasMethodName in interface RPCProtos.RequestHeaderOrBuilder

getMethodName

public String getMethodName()
optional string method_name = 3;

Specified by:
getMethodName in interface RPCProtos.RequestHeaderOrBuilder

getMethodNameBytes

public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;

Specified by:
getMethodNameBytes in interface RPCProtos.RequestHeaderOrBuilder

hasRequestParam

public boolean hasRequestParam()
optional bool request_param = 4;
 If true, then a pb Message param follows.
 

Specified by:
hasRequestParam in interface RPCProtos.RequestHeaderOrBuilder

getRequestParam

public boolean getRequestParam()
optional bool request_param = 4;
 If true, then a pb Message param follows.
 

Specified by:
getRequestParam in interface RPCProtos.RequestHeaderOrBuilder

hasCellBlockMeta

public boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
 If present, then an encoded data block follows.
 

Specified by:
hasCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilder

getCellBlockMeta

public RPCProtos.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
 If present, then an encoded data block follows.
 

Specified by:
getCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilder

getCellBlockMetaOrBuilder

public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 5;
 If present, then an encoded data block follows.
 

Specified by:
getCellBlockMetaOrBuilder in interface RPCProtos.RequestHeaderOrBuilder

hasPriority

public boolean hasPriority()
optional uint32 priority = 6;
 0 is NORMAL priority.  100 is HIGH.  If no priority, treat it as NORMAL.
 See HConstants.
 

Specified by:
hasPriority in interface RPCProtos.RequestHeaderOrBuilder

getPriority

public int getPriority()
optional uint32 priority = 6;
 0 is NORMAL priority.  100 is HIGH.  If no priority, treat it as NORMAL.
 See HConstants.
 

Specified by:
getPriority in interface RPCProtos.RequestHeaderOrBuilder

isInitialized

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

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCProtos.RequestHeader parseFrom(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCProtos.RequestHeader parseFrom(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCProtos.RequestHeader parseFrom(InputStream input)
                                         throws IOException
Throws:
IOException

parseFrom

public static RPCProtos.RequestHeader parseFrom(InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
Throws:
IOException

parseDelimitedFrom

public static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input)
                                                  throws IOException
Throws:
IOException

parseDelimitedFrom

public static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
Throws:
IOException

parseFrom

public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input)
                                         throws IOException
Throws:
IOException

parseFrom

public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
Throws:
IOException

newBuilder

public static RPCProtos.RequestHeader.Builder newBuilder()

newBuilderForType

public RPCProtos.RequestHeader.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static RPCProtos.RequestHeader.Builder newBuilder(RPCProtos.RequestHeader prototype)

toBuilder

public RPCProtos.RequestHeader.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected RPCProtos.RequestHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


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