public abstract static class TestRpcServiceProtosLegacy.CustomProto extends Object implements com.google.protobuf.Service
hadoop.common.CustomProto
Modifier and Type | Class and Description |
---|---|
static interface |
TestRpcServiceProtosLegacy.CustomProto.BlockingInterface |
static interface |
TestRpcServiceProtosLegacy.CustomProto.Interface |
static class |
TestRpcServiceProtosLegacy.CustomProto.Stub |
Modifier | Constructor and Description |
---|---|
protected |
CustomProto() |
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() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static TestRpcServiceProtosLegacy.CustomProto.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(TestRpcServiceProtosLegacy.CustomProto.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(TestRpcServiceProtosLegacy.CustomProto.Interface impl) |
static TestRpcServiceProtosLegacy.CustomProto.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
ping(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc ping(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
public static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtosLegacy.CustomProto.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtosLegacy.CustomProto.BlockingInterface impl)
public abstract void ping(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc ping(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
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 TestRpcServiceProtosLegacy.CustomProto.Stub newStub(com.google.protobuf.RpcChannel channel)
public static TestRpcServiceProtosLegacy.CustomProto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.