public static final class ProtobufRpcEngine2Protos.RequestHeaderProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
This message is the header for the Protobuf Rpc Engine when sending a RPC request from RPC client to the RPC server. The actual request (serialized as protobuf) follows this request. No special header is needed for the Rpc Response for Protobuf Rpc Engine. The normal RPC response header (see RpcHeader.proto) are sufficient.Protobuf type
hadoop.common.RequestHeaderProto| Modifier and Type | Class and Description |
|---|---|
static class |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder
This message is the header for the Protobuf Rpc Engine
when sending a RPC request from RPC client to the RPC server.
|
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENTPROTOCOLVERSION_FIELD_NUMBER |
static int |
DECLARINGCLASSPROTOCOLNAME_FIELD_NUMBER |
static int |
METHODNAME_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getClientProtocolVersion()
protocol version of class declaring the called method
|
String |
getDeclaringClassProtocolName()
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getDeclaringClassProtocolNameBytes()
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
static ProtobufRpcEngine2Protos.RequestHeaderProto |
getDefaultInstance() |
ProtobufRpcEngine2Protos.RequestHeaderProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMethodName()
Name of the RPC method
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getMethodNameBytes()
Name of the RPC method
|
org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> |
getParserForType() |
int |
getSerializedSize() |
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientProtocolVersion()
protocol version of class declaring the called method
|
boolean |
hasDeclaringClassProtocolName()
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
int |
hashCode() |
boolean |
hasMethodName()
Name of the RPC method
|
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
newBuilder() |
static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
newBuilder(ProtobufRpcEngine2Protos.RequestHeaderProto prototype) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
newBuilderForType() |
protected ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseDelimitedFrom(InputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(byte[] data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(ByteBuffer data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(InputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> |
parser() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METHODNAME_FIELD_NUMBER
public static final int DECLARINGCLASSPROTOCOLNAME_FIELD_NUMBER
public static final int CLIENTPROTOCOLVERSION_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean hasMethodName()
Name of the RPC method
required string methodName = 1;hasMethodName in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic String getMethodName()
Name of the RPC method
required string methodName = 1;getMethodName in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic org.apache.hadoop.thirdparty.protobuf.ByteString getMethodNameBytes()
Name of the RPC method
required string methodName = 1;getMethodNameBytes in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic boolean hasDeclaringClassProtocolName()
RPCs for a particular interface (ie protocol) are done using a IPC connection that is setup using rpcProxy. The rpcProxy's has a declared protocol name that is sent form client to server at connection time. Each Rpc call also sends a protocol name (called declaringClassprotocolName). This name is usually the same as the connection protocol name except in some cases. For example metaProtocols such ProtocolInfoProto which get metainfo about the protocol reuse the connection but need to indicate that the actual protocol is different (i.e. the protocol is ProtocolInfoProto) since they reuse the connection; in this case the declaringClassProtocolName field is set to the ProtocolInfoProto
required string declaringClassProtocolName = 2;hasDeclaringClassProtocolName in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic String getDeclaringClassProtocolName()
RPCs for a particular interface (ie protocol) are done using a IPC connection that is setup using rpcProxy. The rpcProxy's has a declared protocol name that is sent form client to server at connection time. Each Rpc call also sends a protocol name (called declaringClassprotocolName). This name is usually the same as the connection protocol name except in some cases. For example metaProtocols such ProtocolInfoProto which get metainfo about the protocol reuse the connection but need to indicate that the actual protocol is different (i.e. the protocol is ProtocolInfoProto) since they reuse the connection; in this case the declaringClassProtocolName field is set to the ProtocolInfoProto
required string declaringClassProtocolName = 2;getDeclaringClassProtocolName in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic org.apache.hadoop.thirdparty.protobuf.ByteString getDeclaringClassProtocolNameBytes()
RPCs for a particular interface (ie protocol) are done using a IPC connection that is setup using rpcProxy. The rpcProxy's has a declared protocol name that is sent form client to server at connection time. Each Rpc call also sends a protocol name (called declaringClassprotocolName). This name is usually the same as the connection protocol name except in some cases. For example metaProtocols such ProtocolInfoProto which get metainfo about the protocol reuse the connection but need to indicate that the actual protocol is different (i.e. the protocol is ProtocolInfoProto) since they reuse the connection; in this case the declaringClassProtocolName field is set to the ProtocolInfoProto
required string declaringClassProtocolName = 2;getDeclaringClassProtocolNameBytes in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic boolean hasClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;hasClientProtocolVersion in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic long getClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;getClientProtocolVersion in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLitewriteTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hadoop.thirdparty.protobuf.Messageequals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hadoop.thirdparty.protobuf.MessagehashCode in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType()
newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessagenewBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitepublic static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilder()
public static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilder(ProtobufRpcEngine2Protos.RequestHeaderProto prototype)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder toBuilder()
toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessagetoBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteprotected ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> getParserForType()
getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessagegetParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.