@@ -27,22 +27,11 @@ private ReportQpsScenarioServiceGrpc() {}
2727 public static final String SERVICE_NAME = "grpc.testing.ReportQpsScenarioService" ;
2828
2929 // Static method descriptors that strictly reflect the proto.
30- @ io .grpc .ExperimentalApi ("https://github.com/grpc/grpc-java/issues/1901" )
31- @ java .lang .Deprecated // Use {@link #getReportScenarioMethod()} instead.
32- public static final io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Control .ScenarioResult ,
33- io .grpc .benchmarks .proto .Control .Void > METHOD_REPORT_SCENARIO = getReportScenarioMethodHelper ();
34-
3530 private static volatile io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Control .ScenarioResult ,
3631 io .grpc .benchmarks .proto .Control .Void > getReportScenarioMethod ;
3732
38- @ io .grpc .ExperimentalApi ("https://github.com/grpc/grpc-java/issues/1901" )
3933 public static io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Control .ScenarioResult ,
4034 io .grpc .benchmarks .proto .Control .Void > getReportScenarioMethod () {
41- return getReportScenarioMethodHelper ();
42- }
43-
44- private static io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Control .ScenarioResult ,
45- io .grpc .benchmarks .proto .Control .Void > getReportScenarioMethodHelper () {
4635 io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Control .ScenarioResult , io .grpc .benchmarks .proto .Control .Void > getReportScenarioMethod ;
4736 if ((getReportScenarioMethod = ReportQpsScenarioServiceGrpc .getReportScenarioMethod ) == null ) {
4837 synchronized (ReportQpsScenarioServiceGrpc .class ) {
@@ -99,13 +88,13 @@ public static abstract class ReportQpsScenarioServiceImplBase implements io.grpc
9988 */
10089 public void reportScenario (io .grpc .benchmarks .proto .Control .ScenarioResult request ,
10190 io .grpc .stub .StreamObserver <io .grpc .benchmarks .proto .Control .Void > responseObserver ) {
102- asyncUnimplementedUnaryCall (getReportScenarioMethodHelper (), responseObserver );
91+ asyncUnimplementedUnaryCall (getReportScenarioMethod (), responseObserver );
10392 }
10493
10594 @ java .lang .Override public final io .grpc .ServerServiceDefinition bindService () {
10695 return io .grpc .ServerServiceDefinition .builder (getServiceDescriptor ())
10796 .addMethod (
108- getReportScenarioMethodHelper (),
97+ getReportScenarioMethod (),
10998 asyncUnaryCall (
11099 new MethodHandlers <
111100 io .grpc .benchmarks .proto .Control .ScenarioResult ,
@@ -141,7 +130,7 @@ protected ReportQpsScenarioServiceStub build(io.grpc.Channel channel,
141130 public void reportScenario (io .grpc .benchmarks .proto .Control .ScenarioResult request ,
142131 io .grpc .stub .StreamObserver <io .grpc .benchmarks .proto .Control .Void > responseObserver ) {
143132 asyncUnaryCall (
144- getChannel ().newCall (getReportScenarioMethodHelper (), getCallOptions ()), request , responseObserver );
133+ getChannel ().newCall (getReportScenarioMethod (), getCallOptions ()), request , responseObserver );
145134 }
146135 }
147136
@@ -170,7 +159,7 @@ protected ReportQpsScenarioServiceBlockingStub build(io.grpc.Channel channel,
170159 */
171160 public io .grpc .benchmarks .proto .Control .Void reportScenario (io .grpc .benchmarks .proto .Control .ScenarioResult request ) {
172161 return blockingUnaryCall (
173- getChannel (), getReportScenarioMethodHelper (), getCallOptions (), request );
162+ getChannel (), getReportScenarioMethod (), getCallOptions (), request );
174163 }
175164 }
176165
@@ -200,7 +189,7 @@ protected ReportQpsScenarioServiceFutureStub build(io.grpc.Channel channel,
200189 public com .google .common .util .concurrent .ListenableFuture <io .grpc .benchmarks .proto .Control .Void > reportScenario (
201190 io .grpc .benchmarks .proto .Control .ScenarioResult request ) {
202191 return futureUnaryCall (
203- getChannel ().newCall (getReportScenarioMethodHelper (), getCallOptions ()), request );
192+ getChannel ().newCall (getReportScenarioMethod (), getCallOptions ()), request );
204193 }
205194 }
206195
@@ -288,7 +277,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
288277 if (result == null ) {
289278 serviceDescriptor = result = io .grpc .ServiceDescriptor .newBuilder (SERVICE_NAME )
290279 .setSchemaDescriptor (new ReportQpsScenarioServiceFileDescriptorSupplier ())
291- .addMethod (getReportScenarioMethodHelper ())
280+ .addMethod (getReportScenarioMethod ())
292281 .build ();
293282 }
294283 }
0 commit comments