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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>
public ProtobufRpcEngineProtos.RequestHeaderProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ProtobufRpcEngineProtos.RequestHeaderProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ProtobufRpcEngineProtos.RequestHeaderProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ProtobufRpcEngineProtos.RequestHeaderProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProtobufRpcEngineProtos.RequestHeaderProto.Builder>
IOException
public boolean hasMethodName()
required string methodName = 1;
Name of the RPC method
hasMethodName
in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilder
public String getMethodName()
required string methodName = 1;
Name of the RPC method
getMethodName
in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilder
public com.google.protobuf.ByteString getMethodNameBytes()
required string methodName = 1;
Name of the RPC method
getMethodNameBytes
in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public 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.RequestHeaderProtoOrBuilder
public long getClientProtocolVersion()
required uint64 clientProtocolVersion = 3;
protocol version of class declaring the called method
getClientProtocolVersion
in interface ProtobufRpcEngineProtos.RequestHeaderProtoOrBuilder
public 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 © 2017 Apache Software Foundation. All Rights Reserved.