@Generated(value="proto") public static final class RPCProtos.RequestHeader.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder> 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 |
clearTimeout()
optional uint32 timeout = 7; |
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() |
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; |
int |
getTimeout()
optional uint32 timeout = 7; |
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 |
hasTimeout()
optional uint32 timeout = 7; |
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 |
mergeFrom(RPCProtos.RequestHeader 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(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 |
setTimeout(int value)
optional uint32 timeout = 7; |
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; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder>
public RPCProtos.RequestHeader.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder>
public RPCProtos.RequestHeader.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder>
public RPCProtos.RequestHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RPCProtos.RequestHeader build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.RequestHeader buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.RequestHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.RequestHeader.Builder>
public RPCProtos.RequestHeader.Builder mergeFrom(RPCProtos.RequestHeader other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder>
public RPCProtos.RequestHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.RequestHeader.Builder>
IOException
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 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.RequestHeaderOrBuilder
public TracingProtos.RPCTInfo getTraceInfo()
optional .hbase.pb.RPCTInfo trace_info = 2;
getTraceInfo
in interface RPCProtos.RequestHeaderOrBuilder
public 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.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 RPCProtos.RequestHeader.Builder setMethodName(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.RequestHeaderOrBuilder
public boolean getRequestParam()
optional bool request_param = 4;
If true, then a pb Message param follows.
getRequestParam
in interface RPCProtos.RequestHeaderOrBuilder
public 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.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.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.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 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.
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 RPCProtos.RequestHeader.Builder setTimeout(int value)
optional uint32 timeout = 7;
public RPCProtos.RequestHeader.Builder clearTimeout()
optional uint32 timeout = 7;
Copyright © 2007–2019 Cloudera. All rights reserved.