public static final class RPCProtos.RequestHeader extends com.google.protobuf.GeneratedMessage implements RPCProtos.RequestHeaderOrBuilder
hbase.pb.RequestHeader
Header sent making a request.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RPCProtos.RequestHeader.Builder
Protobuf type
hbase.pb.RequestHeader
Header sent making a request. |
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>| 限定符和类型 | 字段和说明 |
|---|---|
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 |
TIMEOUT_FIELD_NUMBER |
static int |
TRACE_INFO_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
|
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows. |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows. |
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;
0 is NORMAL priority. 200 is HIGH. |
boolean |
getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows. |
int |
getSerializedSize() |
int |
getTimeout()
optional uint32 timeout = 7; |
TracingProtos.RPCTInfo |
getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2; |
TracingProtos.RPCTInfoOrBuilder |
getTraceInfoOrBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
|
boolean |
hasCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows. |
int |
hashCode() |
boolean |
hasMethodName()
optional string method_name = 3; |
boolean |
hasPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. |
boolean |
hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows. |
boolean |
hasTimeout()
optional uint32 timeout = 7; |
boolean |
hasTraceInfo()
optional .hbase.pb.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) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic 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
public static final int TIMEOUT_FIELD_NUMBER
public static RPCProtos.RequestHeader getDefaultInstance()
public RPCProtos.RequestHeader getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RPCProtos.RequestHeader> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 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 在接口中 RPCProtos.RequestHeaderOrBuilderpublic int getCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
getCallId 在接口中 RPCProtos.RequestHeaderOrBuilderpublic boolean hasTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;hasTraceInfo 在接口中 RPCProtos.RequestHeaderOrBuilderpublic TracingProtos.RPCTInfo getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;getTraceInfo 在接口中 RPCProtos.RequestHeaderOrBuilderpublic TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2;public boolean hasMethodName()
optional string method_name = 3;public String getMethodName()
optional string method_name = 3;public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;public boolean hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
public boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
public boolean hasCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMeta getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public boolean hasPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.
hasPriority 在接口中 RPCProtos.RequestHeaderOrBuilderpublic int getPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.
getPriority 在接口中 RPCProtos.RequestHeaderOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 7;hasTimeout 在接口中 RPCProtos.RequestHeaderOrBuilderpublic int getTimeout()
optional uint32 timeout = 7;getTimeout 在接口中 RPCProtos.RequestHeaderOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.RequestHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.RequestHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.RequestHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RPCProtos.RequestHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.RequestHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RPCProtos.RequestHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RPCProtos.RequestHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RPCProtos.RequestHeader.Builder newBuilder(RPCProtos.RequestHeader prototype)
public RPCProtos.RequestHeader.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected RPCProtos.RequestHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2007–2019. All rights reserved.