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