public static final class RpcHeaderProtos.RpcRequestHeaderProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RpcRequestHeaderProto.Builder> implements RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
hadoop.common.RpcRequestHeaderProto
the header for the RpcRequest
Modifier and Type | Method and Description |
---|---|
RpcHeaderProtos.RpcRequestHeaderProto |
build() |
RpcHeaderProtos.RpcRequestHeaderProto |
buildPartial() |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clear() |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearCallId()
required sint32 callId = 3; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearClientId()
required bytes clientId = 4; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearRetryCount()
optional sint32 retryCount = 5 [default = -1]; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clearTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
clone() |
RpcHeaderProtos.RPCCallerContextProto |
getCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RPCCallerContextProto.Builder |
getCallerContextBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RPCCallerContextProtoOrBuilder |
getCallerContextOrBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
int |
getCallId()
required sint32 callId = 3; |
com.google.protobuf.ByteString |
getClientId()
required bytes clientId = 4; |
RpcHeaderProtos.RpcRequestHeaderProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getRetryCount()
optional sint32 retryCount = 5 [default = -1]; |
RpcHeaderProtos.RpcKindProto |
getRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1; |
RpcHeaderProtos.RpcRequestHeaderProto.OperationProto |
getRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2; |
RpcHeaderProtos.RPCTraceInfoProto |
getTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RPCTraceInfoProto.Builder |
getTraceInfoBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RPCTraceInfoProtoOrBuilder |
getTraceInfoOrBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
boolean |
hasCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
boolean |
hasCallId()
required sint32 callId = 3; |
boolean |
hasClientId()
required bytes clientId = 4; |
boolean |
hasRetryCount()
optional sint32 retryCount = 5 [default = -1]; |
boolean |
hasRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1; |
boolean |
hasRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2; |
boolean |
hasTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
mergeCallerContext(RpcHeaderProtos.RPCCallerContextProto value)
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
mergeFrom(RpcHeaderProtos.RpcRequestHeaderProto other) |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
mergeTraceInfo(RpcHeaderProtos.RPCTraceInfoProto value)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setCallerContext(RpcHeaderProtos.RPCCallerContextProto.Builder builderForValue)
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setCallerContext(RpcHeaderProtos.RPCCallerContextProto value)
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setCallId(int value)
required sint32 callId = 3; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setClientId(com.google.protobuf.ByteString value)
required bytes clientId = 4; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setRetryCount(int value)
optional sint32 retryCount = 5 [default = -1]; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setRpcKind(RpcHeaderProtos.RpcKindProto value)
optional .hadoop.common.RpcKindProto rpcKind = 1; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setRpcOp(RpcHeaderProtos.RpcRequestHeaderProto.OperationProto value)
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setTraceInfo(RpcHeaderProtos.RPCTraceInfoProto.Builder builderForValue)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
setTraceInfo(RpcHeaderProtos.RPCTraceInfoProto value)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
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<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
public RpcHeaderProtos.RpcRequestHeaderProto.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<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
public RpcHeaderProtos.RpcRequestHeaderProto.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<RpcHeaderProtos.RpcRequestHeaderProto.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<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
public RpcHeaderProtos.RpcRequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RpcRequestHeaderProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
public RpcHeaderProtos.RpcRequestHeaderProto.Builder mergeFrom(RpcHeaderProtos.RpcRequestHeaderProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
public RpcHeaderProtos.RpcRequestHeaderProto.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<RpcHeaderProtos.RpcRequestHeaderProto.Builder>
IOException
public boolean hasRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1;
hasRpcKind
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcKindProto getRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1;
getRpcKind
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setRpcKind(RpcHeaderProtos.RpcKindProto value)
optional .hadoop.common.RpcKindProto rpcKind = 1;
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1;
public boolean hasRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;
hasRpcOp
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.OperationProto getRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;
getRpcOp
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setRpcOp(RpcHeaderProtos.RpcRequestHeaderProto.OperationProto value)
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;
public boolean hasCallId()
required sint32 callId = 3;
a sequence number that is sent back in response
hasCallId
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public int getCallId()
required sint32 callId = 3;
a sequence number that is sent back in response
getCallId
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setCallId(int value)
required sint32 callId = 3;
a sequence number that is sent back in response
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearCallId()
required sint32 callId = 3;
a sequence number that is sent back in response
public boolean hasClientId()
required bytes clientId = 4;
Globally unique client ID
hasClientId
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public com.google.protobuf.ByteString getClientId()
required bytes clientId = 4;
Globally unique client ID
getClientId
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setClientId(com.google.protobuf.ByteString value)
required bytes clientId = 4;
Globally unique client ID
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearClientId()
required bytes clientId = 4;
Globally unique client ID
public boolean hasRetryCount()
optional sint32 retryCount = 5 [default = -1];
clientId + callId uniquely identifies a request retry count, 1 means this is the first retry
hasRetryCount
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public int getRetryCount()
optional sint32 retryCount = 5 [default = -1];
clientId + callId uniquely identifies a request retry count, 1 means this is the first retry
getRetryCount
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setRetryCount(int value)
optional sint32 retryCount = 5 [default = -1];
clientId + callId uniquely identifies a request retry count, 1 means this is the first retry
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearRetryCount()
optional sint32 retryCount = 5 [default = -1];
clientId + callId uniquely identifies a request retry count, 1 means this is the first retry
public boolean hasTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
hasTraceInfo
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RPCTraceInfoProto getTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
getTraceInfo
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setTraceInfo(RpcHeaderProtos.RPCTraceInfoProto value)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setTraceInfo(RpcHeaderProtos.RPCTraceInfoProto.Builder builderForValue)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
public RpcHeaderProtos.RpcRequestHeaderProto.Builder mergeTraceInfo(RpcHeaderProtos.RPCTraceInfoProto value)
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
public RpcHeaderProtos.RPCTraceInfoProto.Builder getTraceInfoBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
public RpcHeaderProtos.RPCTraceInfoProtoOrBuilder getTraceInfoOrBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
getTraceInfoOrBuilder
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public boolean hasCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
hasCallerContext
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RPCCallerContextProto getCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
getCallerContext
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setCallerContext(RpcHeaderProtos.RPCCallerContextProto value)
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
public RpcHeaderProtos.RpcRequestHeaderProto.Builder setCallerContext(RpcHeaderProtos.RPCCallerContextProto.Builder builderForValue)
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
public RpcHeaderProtos.RpcRequestHeaderProto.Builder mergeCallerContext(RpcHeaderProtos.RPCCallerContextProto value)
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
public RpcHeaderProtos.RpcRequestHeaderProto.Builder clearCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
public RpcHeaderProtos.RPCCallerContextProto.Builder getCallerContextBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
public RpcHeaderProtos.RPCCallerContextProtoOrBuilder getCallerContextOrBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
getCallerContextOrBuilder
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
Copyright © 2017 Apache Software Foundation. All Rights Reserved.