@Generated(value="proto") public static final class RPCProtos.RequestHeader extends com.google.protobuf.GeneratedMessage implements RPCProtos.RequestHeaderOrBuilder
hbase.pb.RequestHeader
Header sent making a request.
Modifier and Type | Class and Description |
---|---|
static class |
RPCProtos.RequestHeader.Builder
Protobuf type
hbase.pb.RequestHeader |
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>
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<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 |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCallId()
optional uint32 call_id = 1; |
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .hbase.pb.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() |
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; |
boolean |
hasCellBlockMeta()
optional .hbase.pb.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 |
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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
public static final int TIMEOUT_FIELD_NUMBER
public static RPCProtos.RequestHeader getDefaultInstance()
public RPCProtos.RequestHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RPCProtos.RequestHeader> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
hasCallId
in interface RPCProtos.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 RPCProtos.RequestHeaderOrBuilder
public boolean hasTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;
hasTraceInfo
in interface RPCProtos.RequestHeaderOrBuilder
public TracingProtos.RPCTInfo getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;
getTraceInfo
in interface RPCProtos.RequestHeaderOrBuilder
public TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2;
getTraceInfoOrBuilder
in interface RPCProtos.RequestHeaderOrBuilder
public boolean hasMethodName()
optional string method_name = 3;
hasMethodName
in interface RPCProtos.RequestHeaderOrBuilder
public String getMethodName()
optional string method_name = 3;
getMethodName
in interface RPCProtos.RequestHeaderOrBuilder
public com.google.protobuf.ByteString getMethodNameBytes()
optional string method_name = 3;
getMethodNameBytes
in interface RPCProtos.RequestHeaderOrBuilder
public boolean hasRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
hasRequestParam
in interface RPCProtos.RequestHeaderOrBuilder
public boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
getRequestParam
in interface RPCProtos.RequestHeaderOrBuilder
public boolean hasCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
hasCellBlockMeta
in interface RPCProtos.RequestHeaderOrBuilder
public RPCProtos.CellBlockMeta getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMeta
in interface RPCProtos.RequestHeaderOrBuilder
public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMetaOrBuilder
in interface RPCProtos.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 RPCProtos.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 RPCProtos.RequestHeaderOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 7;
hasTimeout
in interface RPCProtos.RequestHeaderOrBuilder
public int getTimeout()
optional uint32 timeout = 7;
getTimeout
in interface RPCProtos.RequestHeaderOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
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
IOException
public static RPCProtos.RequestHeader.Builder newBuilder()
public RPCProtos.RequestHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RPCProtos.RequestHeader.Builder newBuilder(RPCProtos.RequestHeader prototype)
public RPCProtos.RequestHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RPCProtos.RequestHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007–2019 Cloudera. All rights reserved.