compiler, stub: Rename inputType and outputType in @RpcMethod

This commit is contained in:
jbingham-google 2018-07-10 14:24:50 -06:00 committed by Carl Mastrangelo
parent 32d50eb3b3
commit ffcb3b964b
20 changed files with 123 additions and 113 deletions

View File

@ -33,8 +33,8 @@ public final class HandshakerServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.gcp.HandshakerService", fullServiceName = "grpc.gcp.HandshakerService",
methodName = "DoHandshake", methodName = "DoHandshake",
inputType = io.grpc.alts.internal.Handshaker.HandshakerReq.class, requestType = io.grpc.alts.internal.Handshaker.HandshakerReq.class,
outputType = io.grpc.alts.internal.Handshaker.HandshakerResp.class, responseType = io.grpc.alts.internal.Handshaker.HandshakerResp.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.alts.internal.Handshaker.HandshakerReq, public static io.grpc.MethodDescriptor<io.grpc.alts.internal.Handshaker.HandshakerReq,
io.grpc.alts.internal.Handshaker.HandshakerResp> getDoHandshakeMethod() { io.grpc.alts.internal.Handshaker.HandshakerResp> getDoHandshakeMethod() {

View File

@ -33,8 +33,8 @@ public final class BenchmarkServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.BenchmarkService", fullServiceName = "grpc.testing.BenchmarkService",
methodName = "UnaryCall", methodName = "UnaryCall",
inputType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
outputType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod() { io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod() {
@ -66,8 +66,8 @@ public final class BenchmarkServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.BenchmarkService", fullServiceName = "grpc.testing.BenchmarkService",
methodName = "StreamingCall", methodName = "StreamingCall",
inputType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
outputType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingCallMethod() { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingCallMethod() {
@ -99,8 +99,8 @@ public final class BenchmarkServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.BenchmarkService", fullServiceName = "grpc.testing.BenchmarkService",
methodName = "StreamingFromClient", methodName = "StreamingFromClient",
inputType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
outputType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromClientMethod() { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromClientMethod() {
@ -132,8 +132,8 @@ public final class BenchmarkServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.BenchmarkService", fullServiceName = "grpc.testing.BenchmarkService",
methodName = "StreamingFromServer", methodName = "StreamingFromServer",
inputType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
outputType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromServerMethod() { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromServerMethod() {
@ -165,8 +165,8 @@ public final class BenchmarkServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.BenchmarkService", fullServiceName = "grpc.testing.BenchmarkService",
methodName = "StreamingBothWays", methodName = "StreamingBothWays",
inputType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
outputType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingBothWaysMethod() { io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingBothWaysMethod() {

View File

@ -33,8 +33,8 @@ public final class ReportQpsScenarioServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.ReportQpsScenarioService", fullServiceName = "grpc.testing.ReportQpsScenarioService",
methodName = "ReportScenario", methodName = "ReportScenario",
inputType = io.grpc.benchmarks.proto.Control.ScenarioResult.class, requestType = io.grpc.benchmarks.proto.Control.ScenarioResult.class,
outputType = io.grpc.benchmarks.proto.Control.Void.class, responseType = io.grpc.benchmarks.proto.Control.Void.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ScenarioResult, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ScenarioResult,
io.grpc.benchmarks.proto.Control.Void> getReportScenarioMethod() { io.grpc.benchmarks.proto.Control.Void> getReportScenarioMethod() {

View File

@ -33,8 +33,8 @@ public final class WorkerServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.WorkerService", fullServiceName = "grpc.testing.WorkerService",
methodName = "RunServer", methodName = "RunServer",
inputType = io.grpc.benchmarks.proto.Control.ServerArgs.class, requestType = io.grpc.benchmarks.proto.Control.ServerArgs.class,
outputType = io.grpc.benchmarks.proto.Control.ServerStatus.class, responseType = io.grpc.benchmarks.proto.Control.ServerStatus.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs,
io.grpc.benchmarks.proto.Control.ServerStatus> getRunServerMethod() { io.grpc.benchmarks.proto.Control.ServerStatus> getRunServerMethod() {
@ -66,8 +66,8 @@ public final class WorkerServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.WorkerService", fullServiceName = "grpc.testing.WorkerService",
methodName = "RunClient", methodName = "RunClient",
inputType = io.grpc.benchmarks.proto.Control.ClientArgs.class, requestType = io.grpc.benchmarks.proto.Control.ClientArgs.class,
outputType = io.grpc.benchmarks.proto.Control.ClientStatus.class, responseType = io.grpc.benchmarks.proto.Control.ClientStatus.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ClientArgs, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ClientArgs,
io.grpc.benchmarks.proto.Control.ClientStatus> getRunClientMethod() { io.grpc.benchmarks.proto.Control.ClientStatus> getRunClientMethod() {
@ -99,8 +99,8 @@ public final class WorkerServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.WorkerService", fullServiceName = "grpc.testing.WorkerService",
methodName = "CoreCount", methodName = "CoreCount",
inputType = io.grpc.benchmarks.proto.Control.CoreRequest.class, requestType = io.grpc.benchmarks.proto.Control.CoreRequest.class,
outputType = io.grpc.benchmarks.proto.Control.CoreResponse.class, responseType = io.grpc.benchmarks.proto.Control.CoreResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.CoreRequest, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.CoreRequest,
io.grpc.benchmarks.proto.Control.CoreResponse> getCoreCountMethod() { io.grpc.benchmarks.proto.Control.CoreResponse> getCoreCountMethod() {
@ -132,8 +132,8 @@ public final class WorkerServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.WorkerService", fullServiceName = "grpc.testing.WorkerService",
methodName = "QuitWorker", methodName = "QuitWorker",
inputType = io.grpc.benchmarks.proto.Control.Void.class, requestType = io.grpc.benchmarks.proto.Control.Void.class,
outputType = io.grpc.benchmarks.proto.Control.Void.class, responseType = io.grpc.benchmarks.proto.Control.Void.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.Void, public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.Void,
io.grpc.benchmarks.proto.Control.Void> getQuitWorkerMethod() { io.grpc.benchmarks.proto.Control.Void> getQuitWorkerMethod() {

View File

@ -480,8 +480,8 @@ static void PrintMethodFields(
"@$RpcMethod$(\n" "@$RpcMethod$(\n"
" fullServiceName = \"$Package$$service_name$\",\n" " fullServiceName = \"$Package$$service_name$\",\n"
" methodName = \"$method_name$\",\n" " methodName = \"$method_name$\",\n"
" inputType = $input_type$.class,\n" " requestType = $input_type$.class,\n"
" outputType = $output_type$.class,\n" " responseType = $output_type$.class,\n"
" methodType = $MethodType$.$method_type$)\n" " methodType = $MethodType$.$method_type$)\n"
"public static $MethodDescriptor$<$input_type$,\n" "public static $MethodDescriptor$<$input_type$,\n"
" $output_type$> $method_method_name$() {\n" " $output_type$> $method_method_name$() {\n"

View File

@ -36,8 +36,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "UnaryCall", methodName = "UnaryCall",
inputType = io.grpc.testing.compiler.Test.SimpleRequest.class, requestType = io.grpc.testing.compiler.Test.SimpleRequest.class,
outputType = io.grpc.testing.compiler.Test.SimpleResponse.class, responseType = io.grpc.testing.compiler.Test.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,
io.grpc.testing.compiler.Test.SimpleResponse> getUnaryCallMethod() { io.grpc.testing.compiler.Test.SimpleResponse> getUnaryCallMethod() {
@ -69,8 +69,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "StreamingOutputCall", methodName = "StreamingOutputCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getStreamingOutputCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getStreamingOutputCallMethod() {
@ -102,8 +102,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "StreamingInputCall", methodName = "StreamingInputCall",
inputType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest,
io.grpc.testing.compiler.Test.StreamingInputCallResponse> getStreamingInputCallMethod() { io.grpc.testing.compiler.Test.StreamingInputCallResponse> getStreamingInputCallMethod() {
@ -135,8 +135,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "FullBidiCall", methodName = "FullBidiCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getFullBidiCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getFullBidiCallMethod() {
@ -168,8 +168,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "HalfBidiCall", methodName = "HalfBidiCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getHalfBidiCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getHalfBidiCallMethod() {
@ -201,8 +201,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "Import", methodName = "Import",
inputType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest,
io.grpc.testing.compiler.Test.StreamingInputCallResponse> getImportMethod() { io.grpc.testing.compiler.Test.StreamingInputCallResponse> getImportMethod() {

View File

@ -36,8 +36,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "UnaryCall", methodName = "UnaryCall",
inputType = io.grpc.testing.compiler.Test.SimpleRequest.class, requestType = io.grpc.testing.compiler.Test.SimpleRequest.class,
outputType = io.grpc.testing.compiler.Test.SimpleResponse.class, responseType = io.grpc.testing.compiler.Test.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,
io.grpc.testing.compiler.Test.SimpleResponse> getUnaryCallMethod() { io.grpc.testing.compiler.Test.SimpleResponse> getUnaryCallMethod() {
@ -68,8 +68,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "StreamingOutputCall", methodName = "StreamingOutputCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getStreamingOutputCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getStreamingOutputCallMethod() {
@ -100,8 +100,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "StreamingInputCall", methodName = "StreamingInputCall",
inputType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest,
io.grpc.testing.compiler.Test.StreamingInputCallResponse> getStreamingInputCallMethod() { io.grpc.testing.compiler.Test.StreamingInputCallResponse> getStreamingInputCallMethod() {
@ -132,8 +132,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "FullBidiCall", methodName = "FullBidiCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getFullBidiCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getFullBidiCallMethod() {
@ -164,8 +164,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "HalfBidiCall", methodName = "HalfBidiCall",
inputType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest,
io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getHalfBidiCallMethod() { io.grpc.testing.compiler.Test.StreamingOutputCallResponse> getHalfBidiCallMethod() {
@ -196,8 +196,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.compiler.TestService", fullServiceName = "grpc.testing.compiler.TestService",
methodName = "Import", methodName = "Import",
inputType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class, requestType = io.grpc.testing.compiler.Test.StreamingInputCallRequest.class,
outputType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class, responseType = io.grpc.testing.compiler.Test.StreamingInputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingInputCallRequest,
io.grpc.testing.compiler.Test.StreamingInputCallResponse> getImportMethod() { io.grpc.testing.compiler.Test.StreamingInputCallResponse> getImportMethod() {

View File

@ -33,8 +33,8 @@ public final class LoadBalancerGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.lb.v1.LoadBalancer", fullServiceName = "grpc.lb.v1.LoadBalancer",
methodName = "BalanceLoad", methodName = "BalanceLoad",
inputType = io.grpc.grpclb.LoadBalanceRequest.class, requestType = io.grpc.grpclb.LoadBalanceRequest.class,
outputType = io.grpc.grpclb.LoadBalanceResponse.class, responseType = io.grpc.grpclb.LoadBalanceResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.grpclb.LoadBalanceRequest, public static io.grpc.MethodDescriptor<io.grpc.grpclb.LoadBalanceRequest,
io.grpc.grpclb.LoadBalanceResponse> getBalanceLoadMethod() { io.grpc.grpclb.LoadBalanceResponse> getBalanceLoadMethod() {

View File

@ -33,8 +33,8 @@ public final class MetricsServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.MetricsService", fullServiceName = "grpc.testing.MetricsService",
methodName = "GetAllGauges", methodName = "GetAllGauges",
inputType = io.grpc.testing.integration.Metrics.EmptyMessage.class, requestType = io.grpc.testing.integration.Metrics.EmptyMessage.class,
outputType = io.grpc.testing.integration.Metrics.GaugeResponse.class, responseType = io.grpc.testing.integration.Metrics.GaugeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage,
io.grpc.testing.integration.Metrics.GaugeResponse> getGetAllGaugesMethod() { io.grpc.testing.integration.Metrics.GaugeResponse> getGetAllGaugesMethod() {
@ -66,8 +66,8 @@ public final class MetricsServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.MetricsService", fullServiceName = "grpc.testing.MetricsService",
methodName = "GetGauge", methodName = "GetGauge",
inputType = io.grpc.testing.integration.Metrics.GaugeRequest.class, requestType = io.grpc.testing.integration.Metrics.GaugeRequest.class,
outputType = io.grpc.testing.integration.Metrics.GaugeResponse.class, responseType = io.grpc.testing.integration.Metrics.GaugeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.GaugeRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.GaugeRequest,
io.grpc.testing.integration.Metrics.GaugeResponse> getGetGaugeMethod() { io.grpc.testing.integration.Metrics.GaugeResponse> getGetGaugeMethod() {

View File

@ -36,8 +36,8 @@ public final class ReconnectServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.ReconnectService", fullServiceName = "grpc.testing.ReconnectService",
methodName = "Start", methodName = "Start",
inputType = io.grpc.testing.integration.EmptyProtos.Empty.class, requestType = io.grpc.testing.integration.EmptyProtos.Empty.class,
outputType = io.grpc.testing.integration.EmptyProtos.Empty.class, responseType = io.grpc.testing.integration.EmptyProtos.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
io.grpc.testing.integration.EmptyProtos.Empty> getStartMethod() { io.grpc.testing.integration.EmptyProtos.Empty> getStartMethod() {
@ -69,8 +69,8 @@ public final class ReconnectServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.ReconnectService", fullServiceName = "grpc.testing.ReconnectService",
methodName = "Stop", methodName = "Stop",
inputType = io.grpc.testing.integration.EmptyProtos.Empty.class, requestType = io.grpc.testing.integration.EmptyProtos.Empty.class,
outputType = io.grpc.testing.integration.Messages.ReconnectInfo.class, responseType = io.grpc.testing.integration.Messages.ReconnectInfo.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
io.grpc.testing.integration.Messages.ReconnectInfo> getStopMethod() { io.grpc.testing.integration.Messages.ReconnectInfo> getStopMethod() {

View File

@ -37,8 +37,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "EmptyCall", methodName = "EmptyCall",
inputType = io.grpc.testing.integration.EmptyProtos.Empty.class, requestType = io.grpc.testing.integration.EmptyProtos.Empty.class,
outputType = io.grpc.testing.integration.EmptyProtos.Empty.class, responseType = io.grpc.testing.integration.EmptyProtos.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
io.grpc.testing.integration.EmptyProtos.Empty> getEmptyCallMethod() { io.grpc.testing.integration.EmptyProtos.Empty> getEmptyCallMethod() {
@ -70,8 +70,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "UnaryCall", methodName = "UnaryCall",
inputType = io.grpc.testing.integration.Messages.SimpleRequest.class, requestType = io.grpc.testing.integration.Messages.SimpleRequest.class,
outputType = io.grpc.testing.integration.Messages.SimpleResponse.class, responseType = io.grpc.testing.integration.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest,
io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod() { io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod() {
@ -103,8 +103,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "CacheableUnaryCall", methodName = "CacheableUnaryCall",
inputType = io.grpc.testing.integration.Messages.SimpleRequest.class, requestType = io.grpc.testing.integration.Messages.SimpleRequest.class,
outputType = io.grpc.testing.integration.Messages.SimpleResponse.class, responseType = io.grpc.testing.integration.Messages.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest,
io.grpc.testing.integration.Messages.SimpleResponse> getCacheableUnaryCallMethod() { io.grpc.testing.integration.Messages.SimpleResponse> getCacheableUnaryCallMethod() {
@ -136,8 +136,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "StreamingOutputCall", methodName = "StreamingOutputCall",
inputType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class, requestType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class, responseType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest,
io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getStreamingOutputCallMethod() { io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getStreamingOutputCallMethod() {
@ -169,8 +169,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "StreamingInputCall", methodName = "StreamingInputCall",
inputType = io.grpc.testing.integration.Messages.StreamingInputCallRequest.class, requestType = io.grpc.testing.integration.Messages.StreamingInputCallRequest.class,
outputType = io.grpc.testing.integration.Messages.StreamingInputCallResponse.class, responseType = io.grpc.testing.integration.Messages.StreamingInputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingInputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingInputCallRequest,
io.grpc.testing.integration.Messages.StreamingInputCallResponse> getStreamingInputCallMethod() { io.grpc.testing.integration.Messages.StreamingInputCallResponse> getStreamingInputCallMethod() {
@ -202,8 +202,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "FullDuplexCall", methodName = "FullDuplexCall",
inputType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class, requestType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class, responseType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest,
io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getFullDuplexCallMethod() { io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getFullDuplexCallMethod() {
@ -235,8 +235,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "HalfDuplexCall", methodName = "HalfDuplexCall",
inputType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class, requestType = io.grpc.testing.integration.Messages.StreamingOutputCallRequest.class,
outputType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class, responseType = io.grpc.testing.integration.Messages.StreamingOutputCallResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.StreamingOutputCallRequest,
io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getHalfDuplexCallMethod() { io.grpc.testing.integration.Messages.StreamingOutputCallResponse> getHalfDuplexCallMethod() {
@ -268,8 +268,8 @@ public final class TestServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.TestService", fullServiceName = "grpc.testing.TestService",
methodName = "UnimplementedCall", methodName = "UnimplementedCall",
inputType = io.grpc.testing.integration.EmptyProtos.Empty.class, requestType = io.grpc.testing.integration.EmptyProtos.Empty.class,
outputType = io.grpc.testing.integration.EmptyProtos.Empty.class, responseType = io.grpc.testing.integration.EmptyProtos.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
io.grpc.testing.integration.EmptyProtos.Empty> getUnimplementedCallMethod() { io.grpc.testing.integration.EmptyProtos.Empty> getUnimplementedCallMethod() {

View File

@ -37,8 +37,8 @@ public final class UnimplementedServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.UnimplementedService", fullServiceName = "grpc.testing.UnimplementedService",
methodName = "UnimplementedCall", methodName = "UnimplementedCall",
inputType = io.grpc.testing.integration.EmptyProtos.Empty.class, requestType = io.grpc.testing.integration.EmptyProtos.Empty.class,
outputType = io.grpc.testing.integration.EmptyProtos.Empty.class, responseType = io.grpc.testing.integration.EmptyProtos.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
io.grpc.testing.integration.EmptyProtos.Empty> getUnimplementedCallMethod() { io.grpc.testing.integration.EmptyProtos.Empty> getUnimplementedCallMethod() {

View File

@ -37,8 +37,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetTopChannels", methodName = "GetTopChannels",
inputType = io.grpc.channelz.v1.GetTopChannelsRequest.class, requestType = io.grpc.channelz.v1.GetTopChannelsRequest.class,
outputType = io.grpc.channelz.v1.GetTopChannelsResponse.class, responseType = io.grpc.channelz.v1.GetTopChannelsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest,
io.grpc.channelz.v1.GetTopChannelsResponse> getGetTopChannelsMethod() { io.grpc.channelz.v1.GetTopChannelsResponse> getGetTopChannelsMethod() {
@ -70,8 +70,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetServers", methodName = "GetServers",
inputType = io.grpc.channelz.v1.GetServersRequest.class, requestType = io.grpc.channelz.v1.GetServersRequest.class,
outputType = io.grpc.channelz.v1.GetServersResponse.class, responseType = io.grpc.channelz.v1.GetServersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServersRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServersRequest,
io.grpc.channelz.v1.GetServersResponse> getGetServersMethod() { io.grpc.channelz.v1.GetServersResponse> getGetServersMethod() {
@ -103,8 +103,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetServerSockets", methodName = "GetServerSockets",
inputType = io.grpc.channelz.v1.GetServerSocketsRequest.class, requestType = io.grpc.channelz.v1.GetServerSocketsRequest.class,
outputType = io.grpc.channelz.v1.GetServerSocketsResponse.class, responseType = io.grpc.channelz.v1.GetServerSocketsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServerSocketsRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServerSocketsRequest,
io.grpc.channelz.v1.GetServerSocketsResponse> getGetServerSocketsMethod() { io.grpc.channelz.v1.GetServerSocketsResponse> getGetServerSocketsMethod() {
@ -136,8 +136,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetChannel", methodName = "GetChannel",
inputType = io.grpc.channelz.v1.GetChannelRequest.class, requestType = io.grpc.channelz.v1.GetChannelRequest.class,
outputType = io.grpc.channelz.v1.GetChannelResponse.class, responseType = io.grpc.channelz.v1.GetChannelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetChannelRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetChannelRequest,
io.grpc.channelz.v1.GetChannelResponse> getGetChannelMethod() { io.grpc.channelz.v1.GetChannelResponse> getGetChannelMethod() {
@ -169,8 +169,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetSubchannel", methodName = "GetSubchannel",
inputType = io.grpc.channelz.v1.GetSubchannelRequest.class, requestType = io.grpc.channelz.v1.GetSubchannelRequest.class,
outputType = io.grpc.channelz.v1.GetSubchannelResponse.class, responseType = io.grpc.channelz.v1.GetSubchannelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetSubchannelRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetSubchannelRequest,
io.grpc.channelz.v1.GetSubchannelResponse> getGetSubchannelMethod() { io.grpc.channelz.v1.GetSubchannelResponse> getGetSubchannelMethod() {
@ -202,8 +202,8 @@ public final class ChannelzGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.channelz.v1.Channelz", fullServiceName = "grpc.channelz.v1.Channelz",
methodName = "GetSocket", methodName = "GetSocket",
inputType = io.grpc.channelz.v1.GetSocketRequest.class, requestType = io.grpc.channelz.v1.GetSocketRequest.class,
outputType = io.grpc.channelz.v1.GetSocketResponse.class, responseType = io.grpc.channelz.v1.GetSocketResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetSocketRequest, public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetSocketRequest,
io.grpc.channelz.v1.GetSocketResponse> getGetSocketMethod() { io.grpc.channelz.v1.GetSocketResponse> getGetSocketMethod() {

View File

@ -33,8 +33,8 @@ public final class HealthGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.health.v1.Health", fullServiceName = "grpc.health.v1.Health",
methodName = "Check", methodName = "Check",
inputType = io.grpc.health.v1.HealthCheckRequest.class, requestType = io.grpc.health.v1.HealthCheckRequest.class,
outputType = io.grpc.health.v1.HealthCheckResponse.class, responseType = io.grpc.health.v1.HealthCheckResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.health.v1.HealthCheckRequest, public static io.grpc.MethodDescriptor<io.grpc.health.v1.HealthCheckRequest,
io.grpc.health.v1.HealthCheckResponse> getCheckMethod() { io.grpc.health.v1.HealthCheckResponse> getCheckMethod() {

View File

@ -33,8 +33,8 @@ public final class ServerReflectionGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.reflection.v1alpha.ServerReflection", fullServiceName = "grpc.reflection.v1alpha.ServerReflection",
methodName = "ServerReflectionInfo", methodName = "ServerReflectionInfo",
inputType = io.grpc.reflection.v1alpha.ServerReflectionRequest.class, requestType = io.grpc.reflection.v1alpha.ServerReflectionRequest.class,
outputType = io.grpc.reflection.v1alpha.ServerReflectionResponse.class, responseType = io.grpc.reflection.v1alpha.ServerReflectionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.reflection.v1alpha.ServerReflectionRequest, public static io.grpc.MethodDescriptor<io.grpc.reflection.v1alpha.ServerReflectionRequest,
io.grpc.reflection.v1alpha.ServerReflectionResponse> getServerReflectionInfoMethod() { io.grpc.reflection.v1alpha.ServerReflectionResponse> getServerReflectionInfoMethod() {

View File

@ -36,8 +36,8 @@ public final class AnotherDynamicServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.reflection.testing.AnotherDynamicService", fullServiceName = "grpc.reflection.testing.AnotherDynamicService",
methodName = "Method", methodName = "Method",
inputType = io.grpc.reflection.testing.DynamicRequest.class, requestType = io.grpc.reflection.testing.DynamicRequest.class,
outputType = io.grpc.reflection.testing.DynamicReply.class, responseType = io.grpc.reflection.testing.DynamicReply.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest, public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest,
io.grpc.reflection.testing.DynamicReply> getMethodMethod() { io.grpc.reflection.testing.DynamicReply> getMethodMethod() {

View File

@ -36,8 +36,8 @@ public final class DynamicServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.reflection.testing.DynamicService", fullServiceName = "grpc.reflection.testing.DynamicService",
methodName = "Method", methodName = "Method",
inputType = io.grpc.reflection.testing.DynamicRequest.class, requestType = io.grpc.reflection.testing.DynamicRequest.class,
outputType = io.grpc.reflection.testing.DynamicReply.class, responseType = io.grpc.reflection.testing.DynamicReply.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest, public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest,
io.grpc.reflection.testing.DynamicReply> getMethodMethod() { io.grpc.reflection.testing.DynamicReply> getMethodMethod() {

View File

@ -33,8 +33,8 @@ public final class ReflectableServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.reflection.testing.ReflectableService", fullServiceName = "grpc.reflection.testing.ReflectableService",
methodName = "Method", methodName = "Method",
inputType = io.grpc.reflection.testing.Request.class, requestType = io.grpc.reflection.testing.Request.class,
outputType = io.grpc.reflection.testing.Reply.class, responseType = io.grpc.reflection.testing.Reply.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.Request, public static io.grpc.MethodDescriptor<io.grpc.reflection.testing.Request,
io.grpc.reflection.testing.Reply> getMethodMethod() { io.grpc.reflection.testing.Reply> getMethodMethod() {

View File

@ -16,14 +16,24 @@
package io.grpc.stub.annotations; package io.grpc.stub.annotations;
import io.grpc.MethodDescriptor.MethodType; import io.grpc.MethodDescriptor;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
/** /**
* Annotates a method descriptor method to provide metadata for annotation processing. * {@link RpcMethod} contains a limited subset of information about the RPC to assist
* <a href="https://docs.oracle.com/javase/6/docs/api/javax/annotation/processing/Processor.html">
* Java Annotation Processors.</a>
*
* <p>
* This annotation is used by the gRPC stub compiler to annotate {@link MethodDescriptor}
* getters. Users should not annotate their own classes with annotation. Not all stubs may have
* this annotation, so consumers should not assume that it is present.
* </p>
*
* @since 1.14.0
*/ */
@Retention(RetentionPolicy.CLASS) @Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD) @Target(ElementType.METHOD)
@ -40,17 +50,17 @@ public @interface RpcMethod {
String methodName(); String methodName();
/** /**
* The input type of the method * The request type of the method
*/ */
Class<?> inputType(); Class<?> requestType();
/** /**
* The output type of the method * The response type of the method
*/ */
Class<?> outputType(); Class<?> responseType();
/** /**
* The call type of the method * The call type of the method
*/ */
MethodType methodType(); MethodDescriptor.MethodType methodType();
} }

View File

@ -36,8 +36,8 @@ public final class SimpleServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.SimpleService", fullServiceName = "grpc.testing.SimpleService",
methodName = "UnaryRpc", methodName = "UnaryRpc",
inputType = io.grpc.testing.protobuf.SimpleRequest.class, requestType = io.grpc.testing.protobuf.SimpleRequest.class,
outputType = io.grpc.testing.protobuf.SimpleResponse.class, responseType = io.grpc.testing.protobuf.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY) methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest,
io.grpc.testing.protobuf.SimpleResponse> getUnaryRpcMethod() { io.grpc.testing.protobuf.SimpleResponse> getUnaryRpcMethod() {
@ -69,8 +69,8 @@ public final class SimpleServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.SimpleService", fullServiceName = "grpc.testing.SimpleService",
methodName = "ClientStreamingRpc", methodName = "ClientStreamingRpc",
inputType = io.grpc.testing.protobuf.SimpleRequest.class, requestType = io.grpc.testing.protobuf.SimpleRequest.class,
outputType = io.grpc.testing.protobuf.SimpleResponse.class, responseType = io.grpc.testing.protobuf.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest,
io.grpc.testing.protobuf.SimpleResponse> getClientStreamingRpcMethod() { io.grpc.testing.protobuf.SimpleResponse> getClientStreamingRpcMethod() {
@ -102,8 +102,8 @@ public final class SimpleServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.SimpleService", fullServiceName = "grpc.testing.SimpleService",
methodName = "ServerStreamingRpc", methodName = "ServerStreamingRpc",
inputType = io.grpc.testing.protobuf.SimpleRequest.class, requestType = io.grpc.testing.protobuf.SimpleRequest.class,
outputType = io.grpc.testing.protobuf.SimpleResponse.class, responseType = io.grpc.testing.protobuf.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest,
io.grpc.testing.protobuf.SimpleResponse> getServerStreamingRpcMethod() { io.grpc.testing.protobuf.SimpleResponse> getServerStreamingRpcMethod() {
@ -135,8 +135,8 @@ public final class SimpleServiceGrpc {
@io.grpc.stub.annotations.RpcMethod( @io.grpc.stub.annotations.RpcMethod(
fullServiceName = "grpc.testing.SimpleService", fullServiceName = "grpc.testing.SimpleService",
methodName = "BidiStreamingRpc", methodName = "BidiStreamingRpc",
inputType = io.grpc.testing.protobuf.SimpleRequest.class, requestType = io.grpc.testing.protobuf.SimpleRequest.class,
outputType = io.grpc.testing.protobuf.SimpleResponse.class, responseType = io.grpc.testing.protobuf.SimpleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest,
io.grpc.testing.protobuf.SimpleResponse> getBidiStreamingRpcMethod() { io.grpc.testing.protobuf.SimpleResponse> getBidiStreamingRpcMethod() {