public static final class RPCProtos.RequestHeader.Builder extends <any> implements RPCProtos.RequestHeaderOrBuilder
hbase.pb.RequestHeader
Header sent making a request.
| Modifier and Type | Method and Description |
|---|---|
RPCProtos.RequestHeader |
build() |
RPCProtos.RequestHeader |
buildPartial() |
RPCProtos.RequestHeader.Builder |
clear() |
RPCProtos.RequestHeader.Builder |
clearCallId()
optional uint32 call_id = 1; |
RPCProtos.RequestHeader.Builder |
clearCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader.Builder |
clearMethodName()
optional string method_name = 3; |
RPCProtos.RequestHeader.Builder |
clearPriority()
optional uint32 priority = 6; |
RPCProtos.RequestHeader.Builder |
clearRequestParam()
optional bool request_param = 4; |
RPCProtos.RequestHeader.Builder |
clearTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
clone() |
int |
getCallId()
optional uint32 call_id = 1; |
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.CellBlockMeta.Builder |
getCellBlockMetaBuilder()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMethodName()
optional string method_name = 3; |
com.google.protobuf.ByteString |
getMethodNameBytes()
optional string method_name = 3; |
int |
getPriority()
optional uint32 priority = 6; |
boolean |
getRequestParam()
optional bool request_param = 4; |
TracingProtos.RPCTInfo |
getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2; |
TracingProtos.RPCTInfo.Builder |
getTraceInfoBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2; |
TracingProtos.RPCTInfoOrBuilder |
getTraceInfoOrBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2; |
boolean |
hasCallId()
optional uint32 call_id = 1; |
boolean |
hasCellBlockMeta()
optional .hbase.pb.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 |
hasTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.RequestHeader.Builder |
mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.RequestHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
RPCProtos.RequestHeader.Builder |
mergeTraceInfo(TracingProtos.RPCTInfo value)
optional .hbase.pb.RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
setCallId(int value)
optional uint32 call_id = 1; |
RPCProtos.RequestHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader.Builder |
setMethodName(java.lang.String value)
optional string method_name = 3; |
RPCProtos.RequestHeader.Builder |
setMethodNameBytes(com.google.protobuf.ByteString value)
optional string method_name = 3; |
RPCProtos.RequestHeader.Builder |
setPriority(int value)
optional uint32 priority = 6; |
RPCProtos.RequestHeader.Builder |
setRequestParam(boolean value)
optional bool request_param = 4; |
RPCProtos.RequestHeader.Builder |
setTraceInfo(TracingProtos.RPCTInfo.Builder builderForValue)
optional .hbase.pb.RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
setTraceInfo(TracingProtos.RPCTInfo value)
optional .hbase.pb.RPCTInfo trace_info = 2; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public RPCProtos.RequestHeader.Builder clear()
public RPCProtos.RequestHeader.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public RPCProtos.RequestHeader getDefaultInstanceForType()
public RPCProtos.RequestHeader build()
public RPCProtos.RequestHeader buildPartial()
public RPCProtos.RequestHeader.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public RPCProtos.RequestHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic 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 RPCProtos.RequestHeader.Builder setCallId(int value)
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
public RPCProtos.RequestHeader.Builder clearCallId()
optional uint32 call_id = 1;
Monotonically increasing call_id to keep track of RPC requests and their response
public boolean hasTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;hasTraceInfo in interface RPCProtos.RequestHeaderOrBuilderpublic TracingProtos.RPCTInfo getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;getTraceInfo in interface RPCProtos.RequestHeaderOrBuilderpublic RPCProtos.RequestHeader.Builder setTraceInfo(TracingProtos.RPCTInfo value)
optional .hbase.pb.RPCTInfo trace_info = 2;public RPCProtos.RequestHeader.Builder setTraceInfo(TracingProtos.RPCTInfo.Builder builderForValue)
optional .hbase.pb.RPCTInfo trace_info = 2;public RPCProtos.RequestHeader.Builder mergeTraceInfo(TracingProtos.RPCTInfo value)
optional .hbase.pb.RPCTInfo trace_info = 2;public RPCProtos.RequestHeader.Builder clearTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;public TracingProtos.RPCTInfo.Builder getTraceInfoBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2;public TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .hbase.pb.RPCTInfo trace_info = 2;getTraceInfoOrBuilder in interface RPCProtos.RequestHeaderOrBuilderpublic boolean hasMethodName()
optional string method_name = 3;hasMethodName in interface RPCProtos.RequestHeaderOrBuilderpublic java.lang.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 RPCProtos.RequestHeader.Builder setMethodName(java.lang.String value)
optional string method_name = 3;public RPCProtos.RequestHeader.Builder clearMethodName()
optional string method_name = 3;public RPCProtos.RequestHeader.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
optional string method_name = 3;public 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 RPCProtos.RequestHeader.Builder setRequestParam(boolean value)
optional bool request_param = 4;
If true, then a pb Message param follows.
public RPCProtos.RequestHeader.Builder clearRequestParam()
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.
hasCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilderpublic RPCProtos.CellBlockMeta getCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
getCellBlockMeta in interface RPCProtos.RequestHeaderOrBuilderpublic RPCProtos.RequestHeader.Builder setCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder clearCellBlockMeta()
optional .hbase.pb.CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMeta.Builder getCellBlockMetaBuilder()
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.
getCellBlockMetaOrBuilder in interface RPCProtos.RequestHeaderOrBuilderpublic 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.RequestHeaderOrBuilderpublic 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.RequestHeaderOrBuilderpublic RPCProtos.RequestHeader.Builder setPriority(int value)
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.
public RPCProtos.RequestHeader.Builder clearPriority()
optional uint32 priority = 6;
0 is NORMAL priority. 200 is HIGH. If no priority, treat it as NORMAL. See HConstants.