public static final class RpcHeaderProtos.RpcRequestHeaderProto extends com.google.protobuf.GeneratedMessage implements RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
hadoop.common.RpcRequestHeaderProto
the header for the RpcRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
RpcHeaderProtos.RpcRequestHeaderProto.Builder
Protobuf type
hadoop.common.RpcRequestHeaderProto |
static class |
RpcHeaderProtos.RpcRequestHeaderProto.OperationProto
Protobuf enum
hadoop.common.RpcRequestHeaderProto.OperationProto |
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 |
CALLERCONTEXT_FIELD_NUMBER |
static int |
CALLID_FIELD_NUMBER |
static int |
CLIENTID_FIELD_NUMBER |
static com.google.protobuf.Parser<RpcHeaderProtos.RpcRequestHeaderProto> |
PARSER |
static int |
RETRYCOUNT_FIELD_NUMBER |
static int |
RPCKIND_FIELD_NUMBER |
static int |
RPCOP_FIELD_NUMBER |
static int |
STATEID_FIELD_NUMBER |
static int |
TRACEINFO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RpcHeaderProtos.RPCCallerContextProto |
getCallerContext()
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; |
static RpcHeaderProtos.RpcRequestHeaderProto |
getDefaultInstance() |
RpcHeaderProtos.RpcRequestHeaderProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RpcHeaderProtos.RpcRequestHeaderProto> |
getParserForType() |
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; |
int |
getSerializedSize() |
long |
getStateId()
optional int64 stateId = 8; |
RpcHeaderProtos.RPCTraceInfoProto |
getTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
RpcHeaderProtos.RPCTraceInfoProtoOrBuilder |
getTraceInfoOrBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7; |
boolean |
hasCallId()
required sint32 callId = 3; |
boolean |
hasClientId()
required bytes clientId = 4; |
int |
hashCode() |
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 |
hasStateId()
optional int64 stateId = 8; |
boolean |
hasTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RpcHeaderProtos.RpcRequestHeaderProto.Builder |
newBuilder() |
static RpcHeaderProtos.RpcRequestHeaderProto.Builder |
newBuilder(RpcHeaderProtos.RpcRequestHeaderProto prototype) |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
newBuilderForType() |
protected RpcHeaderProtos.RpcRequestHeaderProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseDelimitedFrom(InputStream input) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(byte[] data) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(InputStream input) |
static RpcHeaderProtos.RpcRequestHeaderProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RpcHeaderProtos.RpcRequestHeaderProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RpcHeaderProtos.RpcRequestHeaderProto> PARSER
public static final int RPCKIND_FIELD_NUMBER
public static final int RPCOP_FIELD_NUMBER
public static final int CALLID_FIELD_NUMBER
public static final int CLIENTID_FIELD_NUMBER
public static final int RETRYCOUNT_FIELD_NUMBER
public static final int TRACEINFO_FIELD_NUMBER
public static final int CALLERCONTEXT_FIELD_NUMBER
public static final int STATEID_FIELD_NUMBER
public static RpcHeaderProtos.RpcRequestHeaderProto getDefaultInstance()
public RpcHeaderProtos.RpcRequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RpcHeaderProtos.RpcRequestHeaderProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1;hasRpcKind in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RpcKindProto getRpcKind()
optional .hadoop.common.RpcKindProto rpcKind = 1;getRpcKind in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic boolean hasRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;hasRpcOp in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RpcRequestHeaderProto.OperationProto getRpcOp()
optional .hadoop.common.RpcRequestHeaderProto.OperationProto rpcOp = 2;getRpcOp in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic boolean hasCallId()
required sint32 callId = 3;
a sequence number that is sent back in response
hasCallId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic int getCallId()
required sint32 callId = 3;
a sequence number that is sent back in response
getCallId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic boolean hasClientId()
required bytes clientId = 4;
Globally unique client ID
hasClientId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic com.google.protobuf.ByteString getClientId()
required bytes clientId = 4;
Globally unique client ID
getClientId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic 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.RpcRequestHeaderProtoOrBuilderpublic 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.RpcRequestHeaderProtoOrBuilderpublic boolean hasTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
hasTraceInfo in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RPCTraceInfoProto getTraceInfo()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
getTraceInfo in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RPCTraceInfoProtoOrBuilder getTraceInfoOrBuilder()
optional .hadoop.common.RPCTraceInfoProto traceInfo = 6;
tracing info
getTraceInfoOrBuilder in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic boolean hasCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
hasCallerContext in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RPCCallerContextProto getCallerContext()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
getCallerContext in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic RpcHeaderProtos.RPCCallerContextProtoOrBuilder getCallerContextOrBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
getCallerContextOrBuilder in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic boolean hasStateId()
optional int64 stateId = 8;
The last seen Global State ID
hasStateId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic long getStateId()
optional int64 stateId = 8;
The last seen Global State ID
getStateId in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilder()
public RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilder(RpcHeaderProtos.RpcRequestHeaderProto prototype)
public RpcHeaderProtos.RpcRequestHeaderProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2008–2022 Apache Software Foundation. All rights reserved.