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 |
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() |
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 |
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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 RpcHeaderProtos.RpcRequestHeaderProto getDefaultInstance()
public RpcHeaderProtos.RpcRequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RpcHeaderProtos.RpcRequestHeaderProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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 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.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.RPCCallerContextProtoOrBuilder getCallerContextOrBuilder()
optional .hadoop.common.RPCCallerContextProto callerContext = 7;
call context
getCallerContextOrBuilder
in interface RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(InputStream input) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilder()
public RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilder(RpcHeaderProtos.RpcRequestHeaderProto prototype)
public RpcHeaderProtos.RpcRequestHeaderProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RpcHeaderProtos.RpcRequestHeaderProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 Apache Software Foundation. All Rights Reserved.