public static final class ProtobufRpcEngineProtos.RequestHeaderProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder> 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.
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public ProtobufRpcEngineProtos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ProtobufRpcEngineProtos.RequestHeaderProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ProtobufRpcEngineProtos.RequestHeaderProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ProtobufRpcEngineProtos.RequestHeaderProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public ProtobufRpcEngineProtos.RequestHeaderProto.Builder mergeFrom(ProtobufRpcEngineProtos.RequestHeaderProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>public ProtobufRpcEngineProtos.RequestHeaderProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>IOExceptionpublic 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 ProtobufRpcEngineProtos.RequestHeaderProto.Builder setMethodName(String value)
required string methodName = 1;
Name of the RPC method
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clearMethodName()
required string methodName = 1;
Name of the RPC method
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
required string methodName = 1;
Name of the RPC method
public 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 ProtobufRpcEngineProtos.RequestHeaderProto.Builder setDeclaringClassProtocolName(String value)
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
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clearDeclaringClassProtocolName()
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
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder setDeclaringClassProtocolNameBytes(com.google.protobuf.ByteString value)
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
public 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 ProtobufRpcEngineProtos.RequestHeaderProto.Builder setClientProtocolVersion(long value)
required uint64 clientProtocolVersion = 3;
protocol version of class declaring the called method
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clearClientProtocolVersion()
required uint64 clientProtocolVersion = 3;
protocol version of class declaring the called method
Copyright © 2019 Apache Software Foundation. All Rights Reserved.