public static final class RPCPB.RequestHeader extends com.google.protobuf.GeneratedMessageLite implements RPCPB.RequestHeaderOrBuilder
RequestHeader
Header sent making a request.
| Modifier and Type | Class and Description |
|---|---|
static class |
RPCPB.RequestHeader.Builder
Protobuf type
RequestHeader |
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>| Modifier and Type | Field and Description |
|---|---|
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 |
TIMEOUT_FIELD_NUMBER |
static int |
TRACE_INFO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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() |
int |
getTimeout()
optional uint32 timeout = 7; |
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 |
hasTimeout()
optional uint32 timeout = 7; |
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) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<RPCPB.RequestHeader> PARSER
public static final int CALL_ID_FIELD_NUMBER
public static final int TRACE_INFO_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
public static final int REQUEST_PARAM_FIELD_NUMBER
public static final int CELL_BLOCK_META_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static RPCPB.RequestHeader getDefaultInstance()
public RPCPB.RequestHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<RPCPB.RequestHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
hasCallId in interface RPCPB.RequestHeaderOrBuilderpublic int getCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
getCallId in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasTraceInfo()
optional .RPCTInfo trace_info = 2;hasTraceInfo in interface RPCPB.RequestHeaderOrBuilderpublic TracingPB.RPCTInfo getTraceInfo()
optional .RPCTInfo trace_info = 2;getTraceInfo in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasMethodName()
optional string method_name = 3;hasMethodName in interface RPCPB.RequestHeaderOrBuilderpublic String getMethodName()
optional string method_name = 3;getMethodName in interface RPCPB.RequestHeaderOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;getMethodNameBytes in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
hasRequestParam in interface RPCPB.RequestHeaderOrBuilderpublic boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
getRequestParam in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
hasCellBlockMeta in interface RPCPB.RequestHeaderOrBuilderpublic RPCPB.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMeta in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.
hasPriority in interface RPCPB.RequestHeaderOrBuilderpublic int getPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.
getPriority in interface RPCPB.RequestHeaderOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 7;hasTimeout in interface RPCPB.RequestHeaderOrBuilderpublic int getTimeout()
optional uint32 timeout = 7;getTimeout in interface RPCPB.RequestHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.RequestHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.RequestHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCPB.RequestHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static RPCPB.RequestHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.RequestHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RPCPB.RequestHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCPB.RequestHeader.Builder newBuilder()
public RPCPB.RequestHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static RPCPB.RequestHeader.Builder newBuilder(RPCPB.RequestHeader prototype)
public RPCPB.RequestHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors