org.hbase.async.generated
Class RPCPB.RequestHeader

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.hbase.async.generated.RPCPB.RequestHeader
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, RPCPB.RequestHeaderOrBuilder
Enclosing class:
RPCPB

public static final class RPCPB.RequestHeader
extends com.google.protobuf.GeneratedMessageLite
implements RPCPB.RequestHeaderOrBuilder

Protobuf type RequestHeader

 Header sent making a request.
 

See Also:
Serialized Form

Nested Class Summary
static class RPCPB.RequestHeader.Builder
          Protobuf type RequestHeader
 
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 CALL_ID_FIELD_NUMBER
           
static int CELL_BLOCK_META_FIELD_NUMBER
           
static int METHOD_NAME_FIELD_NUMBER
           
static com.google.protobuf.Parser<RPCPB.RequestHeader> PARSER
           
static int PRIORITY_FIELD_NUMBER
           
static int REQUEST_PARAM_FIELD_NUMBER
           
static int TRACE_INFO_FIELD_NUMBER
           
 
Method Summary
 int getCallId()
          optional uint32 call_id = 1;
 RPCPB.CellBlockMeta getCellBlockMeta()
          optional .CellBlockMeta cell_block_meta = 5;
static RPCPB.RequestHeader getDefaultInstance()
           
 RPCPB.RequestHeader getDefaultInstanceForType()
           
 String getMethodName()
          optional string method_name = 3;
 com.google.protobuf.ByteString getMethodNameBytes()
          optional string method_name = 3;
 com.google.protobuf.Parser<RPCPB.RequestHeader> getParserForType()
           
 int getPriority()
          optional uint32 priority = 6;
 boolean getRequestParam()
          optional bool request_param = 4;
 int getSerializedSize()
           
 TracingPB.RPCTInfo getTraceInfo()
          optional .RPCTInfo trace_info = 2;
 boolean hasCallId()
          optional uint32 call_id = 1;
 boolean hasCellBlockMeta()
          optional .CellBlockMeta cell_block_meta = 5;
 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;
 boolean isInitialized()
           
static RPCPB.RequestHeader.Builder newBuilder()
           
static RPCPB.RequestHeader.Builder newBuilder(RPCPB.RequestHeader prototype)
           
 RPCPB.RequestHeader.Builder newBuilderForType()
           
static RPCPB.RequestHeader parseDelimitedFrom(InputStream input)
           
static RPCPB.RequestHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCPB.RequestHeader parseFrom(byte[] data)
           
static RPCPB.RequestHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data)
           
static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input)
           
static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static RPCPB.RequestHeader parseFrom(InputStream input)
           
static RPCPB.RequestHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 RPCPB.RequestHeader.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<RPCPB.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 RPCPB.RequestHeader getDefaultInstance()

getDefaultInstanceForType

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

getParserForType

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

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 RPCPB.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 RPCPB.RequestHeaderOrBuilder

hasTraceInfo

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

Specified by:
hasTraceInfo in interface RPCPB.RequestHeaderOrBuilder

getTraceInfo

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

Specified by:
getTraceInfo in interface RPCPB.RequestHeaderOrBuilder

hasMethodName

public boolean hasMethodName()
optional string method_name = 3;

Specified by:
hasMethodName in interface RPCPB.RequestHeaderOrBuilder

getMethodName

public String getMethodName()
optional string method_name = 3;

Specified by:
getMethodName in interface RPCPB.RequestHeaderOrBuilder

getMethodNameBytes

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

Specified by:
getMethodNameBytes in interface RPCPB.RequestHeaderOrBuilder

hasRequestParam

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

Specified by:
hasRequestParam in interface RPCPB.RequestHeaderOrBuilder

getRequestParam

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

Specified by:
getRequestParam in interface RPCPB.RequestHeaderOrBuilder

hasCellBlockMeta

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

Specified by:
hasCellBlockMeta in interface RPCPB.RequestHeaderOrBuilder

getCellBlockMeta

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

Specified by:
getCellBlockMeta in interface RPCPB.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 RPCPB.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 RPCPB.RequestHeaderOrBuilder

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 RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static RPCPB.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 RPCPB.RequestHeader parseFrom(byte[] data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static RPCPB.RequestHeader.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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


Copyright © 2010-2015, The Async HBase Authors