@@ -41,22 +41,21 @@ io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod() {
4141 if ((getUnaryCallMethod = BenchmarkServiceGrpc .getUnaryCallMethod ) == null ) {
4242 synchronized (BenchmarkServiceGrpc .class ) {
4343 if ((getUnaryCallMethod = BenchmarkServiceGrpc .getUnaryCallMethod ) == null ) {
44- BenchmarkServiceGrpc .getUnaryCallMethod = getUnaryCallMethod =
44+ BenchmarkServiceGrpc .getUnaryCallMethod = getUnaryCallMethod =
4545 io .grpc .MethodDescriptor .<io .grpc .benchmarks .proto .Messages .SimpleRequest , io .grpc .benchmarks .proto .Messages .SimpleResponse >newBuilder ()
4646 .setType (io .grpc .MethodDescriptor .MethodType .UNARY )
47- .setFullMethodName (generateFullMethodName (
48- "grpc.testing.BenchmarkService" , "UnaryCall" ))
47+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "UnaryCall" ))
4948 .setSampledToLocalTracing (true )
5049 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
5150 io .grpc .benchmarks .proto .Messages .SimpleRequest .getDefaultInstance ()))
5251 .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
5352 io .grpc .benchmarks .proto .Messages .SimpleResponse .getDefaultInstance ()))
54- .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("UnaryCall" ))
55- .build ();
56- }
53+ .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("UnaryCall" ))
54+ .build ();
5755 }
58- }
59- return getUnaryCallMethod ;
56+ }
57+ }
58+ return getUnaryCallMethod ;
6059 }
6160
6261 private static volatile io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Messages .SimpleRequest ,
@@ -73,22 +72,21 @@ io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingCallMethod() {
7372 if ((getStreamingCallMethod = BenchmarkServiceGrpc .getStreamingCallMethod ) == null ) {
7473 synchronized (BenchmarkServiceGrpc .class ) {
7574 if ((getStreamingCallMethod = BenchmarkServiceGrpc .getStreamingCallMethod ) == null ) {
76- BenchmarkServiceGrpc .getStreamingCallMethod = getStreamingCallMethod =
75+ BenchmarkServiceGrpc .getStreamingCallMethod = getStreamingCallMethod =
7776 io .grpc .MethodDescriptor .<io .grpc .benchmarks .proto .Messages .SimpleRequest , io .grpc .benchmarks .proto .Messages .SimpleResponse >newBuilder ()
7877 .setType (io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
79- .setFullMethodName (generateFullMethodName (
80- "grpc.testing.BenchmarkService" , "StreamingCall" ))
78+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "StreamingCall" ))
8179 .setSampledToLocalTracing (true )
8280 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
8381 io .grpc .benchmarks .proto .Messages .SimpleRequest .getDefaultInstance ()))
8482 .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
8583 io .grpc .benchmarks .proto .Messages .SimpleResponse .getDefaultInstance ()))
86- .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingCall" ))
87- .build ();
88- }
84+ .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingCall" ))
85+ .build ();
8986 }
90- }
91- return getStreamingCallMethod ;
87+ }
88+ }
89+ return getStreamingCallMethod ;
9290 }
9391
9492 private static volatile io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Messages .SimpleRequest ,
@@ -105,22 +103,21 @@ io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromClientMethod()
105103 if ((getStreamingFromClientMethod = BenchmarkServiceGrpc .getStreamingFromClientMethod ) == null ) {
106104 synchronized (BenchmarkServiceGrpc .class ) {
107105 if ((getStreamingFromClientMethod = BenchmarkServiceGrpc .getStreamingFromClientMethod ) == null ) {
108- BenchmarkServiceGrpc .getStreamingFromClientMethod = getStreamingFromClientMethod =
106+ BenchmarkServiceGrpc .getStreamingFromClientMethod = getStreamingFromClientMethod =
109107 io .grpc .MethodDescriptor .<io .grpc .benchmarks .proto .Messages .SimpleRequest , io .grpc .benchmarks .proto .Messages .SimpleResponse >newBuilder ()
110108 .setType (io .grpc .MethodDescriptor .MethodType .CLIENT_STREAMING )
111- .setFullMethodName (generateFullMethodName (
112- "grpc.testing.BenchmarkService" , "StreamingFromClient" ))
109+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "StreamingFromClient" ))
113110 .setSampledToLocalTracing (true )
114111 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
115112 io .grpc .benchmarks .proto .Messages .SimpleRequest .getDefaultInstance ()))
116113 .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
117114 io .grpc .benchmarks .proto .Messages .SimpleResponse .getDefaultInstance ()))
118- .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingFromClient" ))
119- .build ();
120- }
115+ .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingFromClient" ))
116+ .build ();
121117 }
122- }
123- return getStreamingFromClientMethod ;
118+ }
119+ }
120+ return getStreamingFromClientMethod ;
124121 }
125122
126123 private static volatile io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Messages .SimpleRequest ,
@@ -137,22 +134,21 @@ io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingFromServerMethod()
137134 if ((getStreamingFromServerMethod = BenchmarkServiceGrpc .getStreamingFromServerMethod ) == null ) {
138135 synchronized (BenchmarkServiceGrpc .class ) {
139136 if ((getStreamingFromServerMethod = BenchmarkServiceGrpc .getStreamingFromServerMethod ) == null ) {
140- BenchmarkServiceGrpc .getStreamingFromServerMethod = getStreamingFromServerMethod =
137+ BenchmarkServiceGrpc .getStreamingFromServerMethod = getStreamingFromServerMethod =
141138 io .grpc .MethodDescriptor .<io .grpc .benchmarks .proto .Messages .SimpleRequest , io .grpc .benchmarks .proto .Messages .SimpleResponse >newBuilder ()
142139 .setType (io .grpc .MethodDescriptor .MethodType .SERVER_STREAMING )
143- .setFullMethodName (generateFullMethodName (
144- "grpc.testing.BenchmarkService" , "StreamingFromServer" ))
140+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "StreamingFromServer" ))
145141 .setSampledToLocalTracing (true )
146142 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
147143 io .grpc .benchmarks .proto .Messages .SimpleRequest .getDefaultInstance ()))
148144 .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
149145 io .grpc .benchmarks .proto .Messages .SimpleResponse .getDefaultInstance ()))
150- .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingFromServer" ))
151- .build ();
152- }
146+ .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingFromServer" ))
147+ .build ();
153148 }
154- }
155- return getStreamingFromServerMethod ;
149+ }
150+ }
151+ return getStreamingFromServerMethod ;
156152 }
157153
158154 private static volatile io .grpc .MethodDescriptor <io .grpc .benchmarks .proto .Messages .SimpleRequest ,
@@ -169,22 +165,21 @@ io.grpc.benchmarks.proto.Messages.SimpleResponse> getStreamingBothWaysMethod() {
169165 if ((getStreamingBothWaysMethod = BenchmarkServiceGrpc .getStreamingBothWaysMethod ) == null ) {
170166 synchronized (BenchmarkServiceGrpc .class ) {
171167 if ((getStreamingBothWaysMethod = BenchmarkServiceGrpc .getStreamingBothWaysMethod ) == null ) {
172- BenchmarkServiceGrpc .getStreamingBothWaysMethod = getStreamingBothWaysMethod =
168+ BenchmarkServiceGrpc .getStreamingBothWaysMethod = getStreamingBothWaysMethod =
173169 io .grpc .MethodDescriptor .<io .grpc .benchmarks .proto .Messages .SimpleRequest , io .grpc .benchmarks .proto .Messages .SimpleResponse >newBuilder ()
174170 .setType (io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
175- .setFullMethodName (generateFullMethodName (
176- "grpc.testing.BenchmarkService" , "StreamingBothWays" ))
171+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "StreamingBothWays" ))
177172 .setSampledToLocalTracing (true )
178173 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
179174 io .grpc .benchmarks .proto .Messages .SimpleRequest .getDefaultInstance ()))
180175 .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
181176 io .grpc .benchmarks .proto .Messages .SimpleResponse .getDefaultInstance ()))
182- .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingBothWays" ))
183- .build ();
184- }
177+ .setSchemaDescriptor (new BenchmarkServiceMethodDescriptorSupplier ("StreamingBothWays" ))
178+ .build ();
185179 }
186- }
187- return getStreamingBothWaysMethod ;
180+ }
181+ }
182+ return getStreamingBothWaysMethod ;
188183 }
189184
190185 /**
0 commit comments