public abstract static class ProtocolInfoProtos.ProtocolInfoService extends Object implements org.apache.hadoop.thirdparty.protobuf.Service
Protocol to get information about protocols.Protobuf service
hadoop.common.ProtocolInfoService
Modifier and Type | Class and Description |
---|---|
static interface |
ProtocolInfoProtos.ProtocolInfoService.BlockingInterface |
static interface |
ProtocolInfoProtos.ProtocolInfoService.Interface |
static class |
ProtocolInfoProtos.ProtocolInfoService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
ProtocolInfoService() |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.thirdparty.protobuf.Message request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done) |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
abstract void |
getProtocolSignature(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
ProtocolInfoProtos.GetProtocolSignatureRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<ProtocolInfoProtos.GetProtocolSignatureResponseProto> done)
Return protocol version corresponding to protocol interface.
|
abstract void |
getProtocolVersions(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
ProtocolInfoProtos.GetProtocolVersionsRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<ProtocolInfoProtos.GetProtocolVersionsResponseProto> done)
Return protocol version corresponding to protocol interface for each
supported rpc kind.
|
org.apache.hadoop.thirdparty.protobuf.Message |
getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
org.apache.hadoop.thirdparty.protobuf.Message |
getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
static ProtocolInfoProtos.ProtocolInfoService.BlockingInterface |
newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel) |
static org.apache.hadoop.thirdparty.protobuf.BlockingService |
newReflectiveBlockingService(ProtocolInfoProtos.ProtocolInfoService.BlockingInterface impl) |
static org.apache.hadoop.thirdparty.protobuf.Service |
newReflectiveService(ProtocolInfoProtos.ProtocolInfoService.Interface impl) |
static ProtocolInfoProtos.ProtocolInfoService.Stub |
newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel) |
public static org.apache.hadoop.thirdparty.protobuf.Service newReflectiveService(ProtocolInfoProtos.ProtocolInfoService.Interface impl)
public static org.apache.hadoop.thirdparty.protobuf.BlockingService newReflectiveBlockingService(ProtocolInfoProtos.ProtocolInfoService.BlockingInterface impl)
public abstract void getProtocolVersions(org.apache.hadoop.thirdparty.protobuf.RpcController controller, ProtocolInfoProtos.GetProtocolVersionsRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<ProtocolInfoProtos.GetProtocolVersionsResponseProto> done)
Return protocol version corresponding to protocol interface for each supported rpc kind.
rpc getProtocolVersions(.hadoop.common.GetProtocolVersionsRequestProto) returns (.hadoop.common.GetProtocolVersionsResponseProto);
public abstract void getProtocolSignature(org.apache.hadoop.thirdparty.protobuf.RpcController controller, ProtocolInfoProtos.GetProtocolSignatureRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<ProtocolInfoProtos.GetProtocolSignatureResponseProto> done)
Return protocol version corresponding to protocol interface.
rpc getProtocolSignature(.hadoop.common.GetProtocolSignatureRequestProto) returns (.hadoop.common.GetProtocolSignatureResponseProto);
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final void callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method, org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.thirdparty.protobuf.Message request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done)
callMethod
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public static ProtocolInfoProtos.ProtocolInfoService.Stub newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel)
public static ProtocolInfoProtos.ProtocolInfoService.BlockingInterface newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.