public static final class ProtobufRpcEngine2Protos.RequestHeaderProto extends com.google.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.
|
Modifier and Type | Field and Description |
---|---|
static int |
CLIENTPROTOCOLVERSION_FIELD_NUMBER |
static int |
DECLARINGCLASSPROTOCOLNAME_FIELD_NUMBER |
static int |
METHODNAME_FIELD_NUMBER |
static com.google.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.
|
com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMethodName()
Name of the RPC method
|
com.google.protobuf.ByteString |
getMethodNameBytes()
Name of the RPC method
|
com.google.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> |
getParserForType() |
int |
getSerializedSize() |
com.google.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 com.google.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseDelimitedFrom(InputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(byte[] data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(ByteBuffer data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(InputStream input) |
static ProtobufRpcEngine2Protos.RequestHeaderProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> |
parser() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 com.google.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 com.google.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 com.google.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 com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ProtobufRpcEngine2Protos.RequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType()
public static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilder()
public static ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilder(ProtobufRpcEngine2Protos.RequestHeaderProto prototype)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder toBuilder()
protected ProtobufRpcEngine2Protos.RequestHeaderProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstance()
public static com.google.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> parser()
public com.google.protobuf.Parser<ProtobufRpcEngine2Protos.RequestHeaderProto> getParserForType()
public ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.