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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public 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.GeneratedMessageV3
public boolean hasMethodName()
Name of the RPC method
required string methodName = 1;
hasMethodName
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public String getMethodName()
Name of the RPC method
required string methodName = 1;
getMethodName
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getMethodNameBytes()
Name of the RPC method
required string methodName = 1;
getMethodNameBytes
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public boolean hasClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;
hasClientProtocolVersion
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public long getClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;
getClientProtocolVersion
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
writeTo
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getSerializedSize
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.apache.hadoop.thirdparty.protobuf.Message
equals
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.apache.hadoop.thirdparty.protobuf.Message
hashCode
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType()
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
public 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.Message
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
protected ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getParserForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.