public static final class ProtobufRpcEngine2Protos.RequestHeaderProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder> 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 | Method and Description |
|---|---|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProtobufRpcEngine2Protos.RequestHeaderProto |
build() |
ProtobufRpcEngine2Protos.RequestHeaderProto |
buildPartial() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clear() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearClientProtocolVersion()
protocol version of class declaring the called method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearDeclaringClassProtocolName()
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearMethodName()
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clone() |
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.
|
ProtobufRpcEngine2Protos.RequestHeaderProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMethodName()
Name of the RPC method
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getMethodNameBytes()
Name of the RPC method
|
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.
|
boolean |
hasMethodName()
Name of the RPC method
|
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(ProtobufRpcEngine2Protos.RequestHeaderProto other) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setClientProtocolVersion(long value)
protocol version of class declaring the called method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setDeclaringClassProtocolName(String value)
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setDeclaringClassProtocolNameBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
RPCs for a particular interface (ie protocol) are done using a
IPC connection that is setup using rpcProxy.
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setMethodName(String value)
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setMethodNameBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clear()
clear in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclear in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclear in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderpublic ProtobufRpcEngine2Protos.RequestHeaderProto build()
build in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderbuild in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic ProtobufRpcEngine2Protos.RequestHeaderProto buildPartial()
buildPartial in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderbuildPartial in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clone()
clone in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclone in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclone in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearOneof in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderaddRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(ProtobufRpcEngine2Protos.RequestHeaderProto other)
public final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>IOExceptionpublic 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 ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setMethodName(String value)
Name of the RPC method
required string methodName = 1;public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearMethodName()
Name of the RPC method
required string methodName = 1;public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setMethodNameBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
Name of the RPC method
required string methodName = 1;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.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 ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setDeclaringClassProtocolName(String value)
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;public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearDeclaringClassProtocolName()
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;public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setDeclaringClassProtocolNameBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
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;public 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 ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setClientProtocolVersion(long value)
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;public final ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>public final ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<ProtobufRpcEngine2Protos.RequestHeaderProto.Builder>Copyright © 2008–2021 Apache Software Foundation. All rights reserved.