public static final class RPCProtos.RequestHeader.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.RequestHeader.Builder> implements RPCProtos.RequestHeaderOrBuilder
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 .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 .RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
clone() |
int |
getCallId()
optional uint32 call_id = 1; |
RPCProtos.CellBlockMeta |
getCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5; |
RPCProtos.CellBlockMeta.Builder |
getCellBlockMetaBuilder()
optional .CellBlockMeta cell_block_meta = 5; |
RPCProtos.CellBlockMetaOrBuilder |
getCellBlockMetaOrBuilder()
optional .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; |
TracingProtos.RPCTInfo |
getTraceInfo()
optional .RPCTInfo trace_info = 2; |
TracingProtos.RPCTInfo.Builder |
getTraceInfoBuilder()
optional .RPCTInfo trace_info = 2; |
TracingProtos.RPCTInfoOrBuilder |
getTraceInfoOrBuilder()
optional .RPCTInfo trace_info = 2; |
boolean |
hasCallId()
optional uint32 call_id = 1; |
boolean |
hasCellBlockMeta()
optional .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 .RPCTInfo trace_info = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.RequestHeader.Builder |
mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .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 .RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
setCallId(int value)
optional uint32 call_id = 1; |
RPCProtos.RequestHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .CellBlockMeta cell_block_meta = 5; |
RPCProtos.RequestHeader.Builder |
setCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .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 |
setTraceInfo(TracingProtos.RPCTInfo.Builder builderForValue)
optional .RPCTInfo trace_info = 2; |
RPCProtos.RequestHeader.Builder |
setTraceInfo(TracingProtos.RPCTInfo value)
optional .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 .RPCTInfo trace_info = 2;
hasTraceInfo
in interface RPCProtos.RequestHeaderOrBuilder
public TracingProtos.RPCTInfo getTraceInfo()
optional .RPCTInfo trace_info = 2;
getTraceInfo
in interface RPCProtos.RequestHeaderOrBuilder
public RPCProtos.RequestHeader.Builder setTraceInfo(TracingProtos.RPCTInfo value)
optional .RPCTInfo trace_info = 2;
public RPCProtos.RequestHeader.Builder setTraceInfo(TracingProtos.RPCTInfo.Builder builderForValue)
optional .RPCTInfo trace_info = 2;
public RPCProtos.RequestHeader.Builder mergeTraceInfo(TracingProtos.RPCTInfo value)
optional .RPCTInfo trace_info = 2;
public RPCProtos.RequestHeader.Builder clearTraceInfo()
optional .RPCTInfo trace_info = 2;
public TracingProtos.RPCTInfo.Builder getTraceInfoBuilder()
optional .RPCTInfo trace_info = 2;
public TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder()
optional .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 .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
hasCellBlockMeta
in interface RPCProtos.RequestHeaderOrBuilder
public RPCProtos.CellBlockMeta getCellBlockMeta()
optional .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 .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder setCellBlockMeta(RPCProtos.CellBlockMeta.Builder builderForValue)
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder mergeCellBlockMeta(RPCProtos.CellBlockMeta value)
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.RequestHeader.Builder clearCellBlockMeta()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMeta.Builder getCellBlockMetaBuilder()
optional .CellBlockMeta cell_block_meta = 5;
If present, then an encoded data block follows.
public RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder()
optional .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.
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.