diff options
author | jbingham-google <40675267+jbingham-google@users.noreply.github.com> | 2018-07-06 18:02:01 -0600 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2018-07-06 17:02:01 -0700 |
commit | 9229e30287db156f334a39a78040059b6ec0294b (patch) | |
tree | 808e451ba49202d81039dc8d1c5bb4ec5f28e640 /testing-proto | |
parent | dd57b667cc26212d4494727b1020cdfae4010126 (diff) | |
download | grpc-grpc-java-9229e30287db156f334a39a78040059b6ec0294b.tar.gz |
compiler, stub: Add @RpcMethod annotation
This annotation will enable Java APT to generate code.
Addresses part of #3173.
Diffstat (limited to 'testing-proto')
-rw-r--r-- | testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java b/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java index 713525d69..7aaece01b 100644 --- a/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java +++ b/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/SimpleServiceGrpc.java @@ -33,6 +33,12 @@ public final class SimpleServiceGrpc { private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getUnaryRpcMethod; + @io.grpc.stub.annotations.RpcMethod( + fullServiceName = "grpc.testing.SimpleService", + methodName = "UnaryRpc", + inputType = io.grpc.testing.protobuf.SimpleRequest.class, + outputType = io.grpc.testing.protobuf.SimpleResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getUnaryRpcMethod() { io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getUnaryRpcMethod; @@ -60,6 +66,12 @@ public final class SimpleServiceGrpc { private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getClientStreamingRpcMethod; + @io.grpc.stub.annotations.RpcMethod( + fullServiceName = "grpc.testing.SimpleService", + methodName = "ClientStreamingRpc", + inputType = io.grpc.testing.protobuf.SimpleRequest.class, + outputType = io.grpc.testing.protobuf.SimpleResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getClientStreamingRpcMethod() { io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getClientStreamingRpcMethod; @@ -87,6 +99,12 @@ public final class SimpleServiceGrpc { private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getServerStreamingRpcMethod; + @io.grpc.stub.annotations.RpcMethod( + fullServiceName = "grpc.testing.SimpleService", + methodName = "ServerStreamingRpc", + inputType = io.grpc.testing.protobuf.SimpleRequest.class, + outputType = io.grpc.testing.protobuf.SimpleResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getServerStreamingRpcMethod() { io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getServerStreamingRpcMethod; @@ -114,6 +132,12 @@ public final class SimpleServiceGrpc { private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getBidiStreamingRpcMethod; + @io.grpc.stub.annotations.RpcMethod( + fullServiceName = "grpc.testing.SimpleService", + methodName = "BidiStreamingRpc", + inputType = io.grpc.testing.protobuf.SimpleRequest.class, + outputType = io.grpc.testing.protobuf.SimpleResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getBidiStreamingRpcMethod() { io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse> getBidiStreamingRpcMethod; |