diff options
author | Carl Mastrangelo <notcarl@google.com> | 2018-07-12 17:01:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 17:01:47 -0700 |
commit | 146b6006b3cc003f68100d10da4ffce8225cc31d (patch) | |
tree | 239d2295a0ae47eaff0778aaf28049f872835447 /benchmarks | |
parent | 9925049dceb03fea2077f1e24d78e4d9616df76d (diff) | |
download | grpc-grpc-java-146b6006b3cc003f68100d10da4ffce8225cc31d.tar.gz |
compiler,stub: update RpcMethod docs and usage
Diffstat (limited to 'benchmarks')
3 files changed, 10 insertions, 20 deletions
diff --git a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/BenchmarkServiceGrpc.java b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/BenchmarkServiceGrpc.java index 77b6ae6a2..6a9da0e8d 100644 --- a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/BenchmarkServiceGrpc.java +++ b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/BenchmarkServiceGrpc.java @@ -31,8 +31,7 @@ public final class BenchmarkServiceGrpc { io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.BenchmarkService", - methodName = "UnaryCall", + fullMethodName = SERVICE_NAME + '/' + "UnaryCall", requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) @@ -64,8 +63,7 @@ public final class BenchmarkServiceGrpc { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingCallMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.BenchmarkService", - methodName = "StreamingCall", + fullMethodName = SERVICE_NAME + '/' + "StreamingCall", requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) @@ -97,8 +95,7 @@ public final class BenchmarkServiceGrpc { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromClientMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.BenchmarkService", - methodName = "StreamingFromClient", + fullMethodName = SERVICE_NAME + '/' + "StreamingFromClient", requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) @@ -130,8 +127,7 @@ public final class BenchmarkServiceGrpc { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromServerMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.BenchmarkService", - methodName = "StreamingFromServer", + fullMethodName = SERVICE_NAME + '/' + "StreamingFromServer", requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) @@ -163,8 +159,7 @@ public final class BenchmarkServiceGrpc { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingBothWaysMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.BenchmarkService", - methodName = "StreamingBothWays", + fullMethodName = SERVICE_NAME + '/' + "StreamingBothWays", requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) diff --git a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ReportQpsScenarioServiceGrpc.java b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ReportQpsScenarioServiceGrpc.java index 1ae1d0160..4c03b373c 100644 --- a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ReportQpsScenarioServiceGrpc.java +++ b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ReportQpsScenarioServiceGrpc.java @@ -31,8 +31,7 @@ public final class ReportQpsScenarioServiceGrpc { io.grpc.benchmarks.proto.Control.Void> getReportScenarioMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.ReportQpsScenarioService", - methodName = "ReportScenario", + fullMethodName = SERVICE_NAME + '/' + "ReportScenario", requestType = io.grpc.benchmarks.proto.Control.ScenarioResult.class, responseType = io.grpc.benchmarks.proto.Control.Void.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) diff --git a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/WorkerServiceGrpc.java b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/WorkerServiceGrpc.java index 2d9fdabe9..021353328 100644 --- a/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/WorkerServiceGrpc.java +++ b/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/WorkerServiceGrpc.java @@ -31,8 +31,7 @@ public final class WorkerServiceGrpc { io.grpc.benchmarks.proto.Control.ServerStatus> getRunServerMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.WorkerService", - methodName = "RunServer", + fullMethodName = SERVICE_NAME + '/' + "RunServer", requestType = io.grpc.benchmarks.proto.Control.ServerArgs.class, responseType = io.grpc.benchmarks.proto.Control.ServerStatus.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) @@ -64,8 +63,7 @@ public final class WorkerServiceGrpc { io.grpc.benchmarks.proto.Control.ClientStatus> getRunClientMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.WorkerService", - methodName = "RunClient", + fullMethodName = SERVICE_NAME + '/' + "RunClient", requestType = io.grpc.benchmarks.proto.Control.ClientArgs.class, responseType = io.grpc.benchmarks.proto.Control.ClientStatus.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) @@ -97,8 +95,7 @@ public final class WorkerServiceGrpc { io.grpc.benchmarks.proto.Control.CoreResponse> getCoreCountMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.WorkerService", - methodName = "CoreCount", + fullMethodName = SERVICE_NAME + '/' + "CoreCount", requestType = io.grpc.benchmarks.proto.Control.CoreRequest.class, responseType = io.grpc.benchmarks.proto.Control.CoreResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) @@ -130,8 +127,7 @@ public final class WorkerServiceGrpc { io.grpc.benchmarks.proto.Control.Void> getQuitWorkerMethod; @io.grpc.stub.annotations.RpcMethod( - fullServiceName = "grpc.testing.WorkerService", - methodName = "QuitWorker", + fullMethodName = SERVICE_NAME + '/' + "QuitWorker", requestType = io.grpc.benchmarks.proto.Control.Void.class, responseType = io.grpc.benchmarks.proto.Control.Void.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) |