public abstract static class UnittestProto.TestService
extends java.lang.Object
implements com.google.protobuf.Service
protobuf_unittest.TestService
Modifier and Type | Class and Description |
---|---|
static interface |
UnittestProto.TestService.BlockingInterface |
static interface |
UnittestProto.TestService.Interface |
static class |
UnittestProto.TestService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
TestService() |
Modifier and Type | Method and Description |
---|---|
abstract void |
bar(com.google.protobuf.RpcController controller,
UnittestProto.BarRequest request,
com.google.protobuf.RpcCallback<UnittestProto.BarResponse> done)
rpc Bar(.protobuf_unittest.BarRequest) returns (.protobuf_unittest.BarResponse); |
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) |
abstract void |
foo(com.google.protobuf.RpcController controller,
UnittestProto.FooRequest request,
com.google.protobuf.RpcCallback<UnittestProto.FooResponse> done)
rpc Foo(.protobuf_unittest.FooRequest) returns (.protobuf_unittest.FooResponse); |
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 UnittestProto.TestService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(UnittestProto.TestService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(UnittestProto.TestService.Interface impl) |
static UnittestProto.TestService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(UnittestProto.TestService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(UnittestProto.TestService.BlockingInterface impl)
public abstract void foo(com.google.protobuf.RpcController controller, UnittestProto.FooRequest request, com.google.protobuf.RpcCallback<UnittestProto.FooResponse> done)
rpc Foo(.protobuf_unittest.FooRequest) returns (.protobuf_unittest.FooResponse);
public abstract void bar(com.google.protobuf.RpcController controller, UnittestProto.BarRequest request, com.google.protobuf.RpcCallback<UnittestProto.BarResponse> done)
rpc Bar(.protobuf_unittest.BarRequest) returns (.protobuf_unittest.BarResponse);
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 UnittestProto.TestService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static UnittestProto.TestService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)