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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<RPCPB.RequestHeader> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
hasCallId
in interface RPCPB.RequestHeaderOrBuilder
public int getCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
getCallId
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasTraceInfo()
optional .RPCTInfo trace_info = 2;
hasTraceInfo
in interface RPCPB.RequestHeaderOrBuilder
public TracingPB.RPCTInfo getTraceInfo()
optional .RPCTInfo trace_info = 2;
getTraceInfo
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasMethodName()
optional string method_name = 3;
hasMethodName
in interface RPCPB.RequestHeaderOrBuilder
public String getMethodName()
optional string method_name = 3;
getMethodName
in interface RPCPB.RequestHeaderOrBuilder
public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;
getMethodNameBytes
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
hasRequestParam
in interface RPCPB.RequestHeaderOrBuilder
public boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
getRequestParam
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
hasCellBlockMeta
in interface RPCPB.RequestHeaderOrBuilder
public RPCPB.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMeta
in interface RPCPB.RequestHeaderOrBuilder
public 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.RequestHeaderOrBuilder
public 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.RequestHeaderOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 7;
hasTimeout
in interface RPCPB.RequestHeaderOrBuilder
public int getTimeout()
optional uint32 timeout = 7;
getTimeout
in interface RPCPB.RequestHeaderOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.RequestHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.RequestHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.RequestHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.RequestHeader parseFrom(InputStream input) throws IOException
IOException
public static RPCPB.RequestHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.RequestHeader parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RPCPB.RequestHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RPCPB.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RPCPB.RequestHeader.Builder newBuilder()
public RPCPB.RequestHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RPCPB.RequestHeader.Builder newBuilder(RPCPB.RequestHeader prototype)
public RPCPB.RequestHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors