public static final class ProtobufRpcEngine2Protos.RequestHeaderProto.Builder extends <any> 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(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearMethodName()
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
clearOneof(com.google.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.
|
com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMethodName()
Name of the RPC method
|
com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeFrom(ProtobufRpcEngine2Protos.RequestHeaderProto other) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
mergeUnknownFields(com.google.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(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setMethodName(String value)
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setMethodNameBytes(com.google.protobuf.ByteString value)
Name of the RPC method
|
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ProtobufRpcEngine2Protos.RequestHeaderProto.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public ProtobufRpcEngine2Protos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ProtobufRpcEngine2Protos.RequestHeaderProto build()
public ProtobufRpcEngine2Protos.RequestHeaderProto buildPartial()
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clone()
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(com.google.protobuf.Message other)
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(ProtobufRpcEngine2Protos.RequestHeaderProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
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 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(com.google.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.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 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(com.google.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.RequestHeaderProtoOrBuilder
public long getClientProtocolVersion()
protocol version of class declaring the called method
required uint64 clientProtocolVersion = 3;
getClientProtocolVersion
in interface ProtobufRpcEngine2Protos.RequestHeaderProtoOrBuilder
public 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(com.google.protobuf.UnknownFieldSet unknownFields)
public final ProtobufRpcEngine2Protos.RequestHeaderProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.