public static final class RPCPB.RequestHeader extends com.google.protobuf.GeneratedMessageLite<RPCPB.RequestHeader,RPCPB.RequestHeader.Builder> implements RPCPB.RequestHeaderOrBuilder
Header sent making a request.Protobuf type
RequestHeader
Modifier and Type | Class and Description |
---|---|
static class |
RPCPB.RequestHeader.Builder
Header sent making a request.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor
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 int |
PRIORITY_FIELD_NUMBER |
static int |
REQUEST_PARAM_FIELD_NUMBER |
static int |
TRACE_INFO_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
int |
getCallId()
Monotonically increasing call_id to keep track of RPC requests and their response
|
RPCPB.CellBlockMeta |
getCellBlockMeta()
If present, then an encoded data block follows.
|
static RPCPB.RequestHeader |
getDefaultInstance() |
String |
getMethodName()
optional string method_name = 3; |
com.google.protobuf.ByteString |
getMethodNameBytes()
optional string method_name = 3; |
int |
getPriority()
0 is NORMAL priority.
|
boolean |
getRequestParam()
If true, then a pb Message param follows.
|
int |
getSerializedSize() |
TracingPB.RPCTInfo |
getTraceInfo()
optional .RPCTInfo trace_info = 2; |
boolean |
hasCallId()
Monotonically increasing call_id to keep track of RPC requests and their response
|
boolean |
hasCellBlockMeta()
If present, then an encoded data block follows.
|
boolean |
hasMethodName()
optional string method_name = 3; |
boolean |
hasPriority()
0 is NORMAL priority.
|
boolean |
hasRequestParam()
If true, then a pb Message param follows.
|
boolean |
hasTraceInfo()
optional .RPCTInfo trace_info = 2; |
static RPCPB.RequestHeader.Builder |
newBuilder() |
static RPCPB.RequestHeader.Builder |
newBuilder(RPCPB.RequestHeader prototype) |
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(ByteBuffer data) |
static RPCPB.RequestHeader |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<RPCPB.RequestHeader> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
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 boolean hasCallId()
Monotonically increasing call_id to keep track of RPC requests and their response
optional uint32 call_id = 1;
hasCallId
in interface RPCPB.RequestHeaderOrBuilder
public int getCallId()
Monotonically increasing call_id to keep track of RPC requests and their response
optional uint32 call_id = 1;
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()
If true, then a pb Message param follows.
optional bool request_param = 4;
hasRequestParam
in interface RPCPB.RequestHeaderOrBuilder
public boolean getRequestParam()
If true, then a pb Message param follows.
optional bool request_param = 4;
getRequestParam
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasCellBlockMeta()
If present, then an encoded data block follows.
optional .CellBlockMeta cell_block_meta = 5;
hasCellBlockMeta
in interface RPCPB.RequestHeaderOrBuilder
public RPCPB.CellBlockMeta getCellBlockMeta()
If present, then an encoded data block follows.
optional .CellBlockMeta cell_block_meta = 5;
getCellBlockMeta
in interface RPCPB.RequestHeaderOrBuilder
public boolean hasPriority()
0 is NORMAL priority. 100 is HIGH. If no priority, treat it as NORMAL. See HConstants.
optional uint32 priority = 6;
hasPriority
in interface RPCPB.RequestHeaderOrBuilder
public int getPriority()
0 is NORMAL priority. 100 is HIGH. If no priority, treat it as NORMAL. See HConstants.
optional uint32 priority = 6;
getPriority
in interface RPCPB.RequestHeaderOrBuilder
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
public static RPCPB.RequestHeader parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCPB.RequestHeader parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
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 static RPCPB.RequestHeader.Builder newBuilder(RPCPB.RequestHeader prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod
in class com.google.protobuf.GeneratedMessageLite<RPCPB.RequestHeader,RPCPB.RequestHeader.Builder>
public static RPCPB.RequestHeader getDefaultInstance()
public static com.google.protobuf.Parser<RPCPB.RequestHeader> parser()
Copyright © 2010–2017 The Async HBase Authors. All rights reserved.