public static final class ProtobufRpcEngineProtos.RequestHeaderProto extends com.google.protobuf.GeneratedMessage.ExtendableMessage<ProtobufRpcEngineProtos.RequestHeaderProto> implements ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilder
hadoop.common.RequestHeaderProto
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtobufRpcEngineProtos.RequestHeaderProto.Builder
Protobuf type
hadoop.common.RequestHeaderProto |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.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 |
CLIENTPROTOCOLVERSION_FIELD_NUMBER |
static int |
DECLARINGCLASSPROTOCOLNAME_FIELD_NUMBER |
static int |
METHODNAME_FIELD_NUMBER |
static com.google.protobuf.Parser<ProtobufRpcEngineProtos.RequestHeaderProto> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getClientProtocolVersion()
required uint64 clientProtocolVersion = 3; |
String |
getDeclaringClassProtocolName()
required string declaringClassProtocolName = 2; |
com.google.protobuf.ByteString |
getDeclaringClassProtocolNameBytes()
required string declaringClassProtocolName = 2; |
static ProtobufRpcEngineProtos.RequestHeaderProto |
getDefaultInstance() |
ProtobufRpcEngineProtos.RequestHeaderProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMethodName()
required string methodName = 1; |
com.google.protobuf.ByteString |
getMethodNameBytes()
required string methodName = 1; |
com.google.protobuf.Parser<ProtobufRpcEngineProtos.RequestHeaderProto> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientProtocolVersion()
required uint64 clientProtocolVersion = 3; |
boolean |
hasDeclaringClassProtocolName()
required string declaringClassProtocolName = 2; |
int |
hashCode() |
boolean |
hasMethodName()
required string methodName = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProtobufRpcEngineProtos.RequestHeaderProto.Builder |
newBuilder() |
static ProtobufRpcEngineProtos.RequestHeaderProto.Builder |
newBuilder(ProtobufRpcEngineProtos.RequestHeaderProto prototype) |
ProtobufRpcEngineProtos.RequestHeaderProto.Builder |
newBuilderForType() |
protected ProtobufRpcEngineProtos.RequestHeaderProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseDelimitedFrom(InputStream input) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(byte[] data) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(InputStream input) |
static ProtobufRpcEngineProtos.RequestHeaderProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProtobufRpcEngineProtos.RequestHeaderProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<ProtobufRpcEngineProtos.RequestHeaderProto> PARSER
public static final int METHODNAME_FIELD_NUMBER
public static final int DECLARINGCLASSPROTOCOLNAME_FIELD_NUMBER
public static final int CLIENTPROTOCOLVERSION_FIELD_NUMBER
public static ProtobufRpcEngineProtos.RequestHeaderProto getDefaultInstance()
public ProtobufRpcEngineProtos.RequestHeaderProto 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<ProtobufRpcEngineProtos.RequestHeaderProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasMethodName()
required string methodName = 1;
Name of the RPC method
hasMethodName in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic String getMethodName()
required string methodName = 1;
Name of the RPC method
getMethodName in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
required string methodName = 1;
Name of the RPC method
getMethodNameBytes in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic boolean hasDeclaringClassProtocolName()
required string declaringClassProtocolName = 2;
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
hasDeclaringClassProtocolName in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic String getDeclaringClassProtocolName()
required string declaringClassProtocolName = 2;
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
getDeclaringClassProtocolName in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic com.google.protobuf.ByteString getDeclaringClassProtocolNameBytes()
required string declaringClassProtocolName = 2;
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
getDeclaringClassProtocolNameBytes in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic boolean hasClientProtocolVersion()
required uint64 clientProtocolVersion = 3;
protocol version of class declaring the called method
hasClientProtocolVersion in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic long getClientProtocolVersion()
required uint64 clientProtocolVersion = 3;
protocol version of class declaring the called method
getClientProtocolVersion in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<ProtobufRpcEngineProtos.RequestHeaderProto>public 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 ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtobufRpcEngineProtos.RequestHeaderProto.Builder newBuilder()
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProtobufRpcEngineProtos.RequestHeaderProto.Builder newBuilder(ProtobufRpcEngineProtos.RequestHeaderProto prototype)
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProtobufRpcEngineProtos.RequestHeaderProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2022 Apache Software Foundation. All rights reserved.