|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeader
public static final class RPCProtos.RequestHeader
Protobuf type RequestHeader
Header sent making a request.
| 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 |
|---|
public static com.google.protobuf.Parser<RPCProtos.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
| Method Detail |
|---|
public static RPCProtos.RequestHeader getDefaultInstance()
public RPCProtos.RequestHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RPCProtos.RequestHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
hasCallId in interface RPCProtos.RequestHeaderOrBuilderpublic int getCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
getCallId in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasTraceInfo()
optional .RPCTInfo trace_info = 2;
hasTraceInfo in interface RPCProtos.RequestHeaderOrBuilderpublic TracingProtos.RPCTInfo getTraceInfo()
optional .RPCTInfo trace_info = 2;
getTraceInfo in interface RPCProtos.RequestHeaderOrBuilderpublic TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .RPCTInfo trace_info = 2;
getTraceInfoOrBuilder in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasMethodName()
optional string method_name = 3;
hasMethodName in interface RPCProtos.RequestHeaderOrBuilderpublic String getMethodName()
optional string method_name = 3;
getMethodName in interface RPCProtos.RequestHeaderOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;
getMethodNameBytes in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
hasRequestParam in interface RPCProtos.RequestHeaderOrBuilderpublic boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
getRequestParam in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
hasCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilderpublic RPCProtos.CellBlockMeta getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilderpublic RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMetaOrBuilder in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 100 is HIGH. If no priority, treat it as NORMAL. See HConstants.
hasPriority in interface RPCProtos.RequestHeaderOrBuilderpublic int getPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 100 is HIGH. If no priority, treat it as NORMAL. See HConstants.
getPriority in interface RPCProtos.RequestHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessage
protected Object writeReplace()
throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessage
public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.RequestHeader parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.RequestHeader parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RPCProtos.RequestHeader parseFrom(InputStream input)
throws IOException
IOException
public static RPCProtos.RequestHeader parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input)
throws IOException
IOException
public static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
IOException
public static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOExceptionpublic static RPCProtos.RequestHeader.Builder newBuilder()
public RPCProtos.RequestHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RPCProtos.RequestHeader.Builder newBuilder(RPCProtos.RequestHeader prototype)
public RPCProtos.RequestHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RPCProtos.RequestHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||