@@ -3,14 +3,14 @@ package io.grpc.testing.integration;
33import static io.grpc.stub.ClientCalls.asyncUnaryCall;
44import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
55import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
6- import static io.grpc.stub.ClientCalls.asyncDuplexStreamingCall ;
6+ import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall ;
77import static io.grpc.stub.ClientCalls.blockingUnaryCall;
88import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
99import static io.grpc.stub.ClientCalls.futureUnaryCall;
1010import static io.grpc.stub.ServerCalls.asyncUnaryCall;
1111import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
1212import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
13- import static io.grpc.stub.ServerCalls.asyncDuplexStreamingCall ;
13+ import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall ;
1414
1515@javax.annotation.Generated("by gRPC proto compiler")
1616public class TestServiceGrpc {
@@ -38,17 +38,17 @@ public class TestServiceGrpc {
3838 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingInputCallRequest.parser()),
3939 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingInputCallResponse.parser()));
4040 public static final io.grpc.MethodDescriptor<io.grpc.testing.integration.Test.StreamingOutputCallRequest,
41- io.grpc.testing.integration.Test.StreamingOutputCallResponse> METHOD_FULL_DUPLEX_CALL =
41+ io.grpc.testing.integration.Test.StreamingOutputCallResponse> METHOD_FULL_BIDI_CALL =
4242 io.grpc.MethodDescriptor.create(
43- io.grpc.MethodDescriptor.MethodType.DUPLEX_STREAMING ,
44- "grpc.testing.TestService", "FullDuplexCall ",
43+ io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING ,
44+ "grpc.testing.TestService", "FullBidiCall ",
4545 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingOutputCallRequest.parser()),
4646 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingOutputCallResponse.parser()));
4747 public static final io.grpc.MethodDescriptor<io.grpc.testing.integration.Test.StreamingOutputCallRequest,
48- io.grpc.testing.integration.Test.StreamingOutputCallResponse> METHOD_HALF_DUPLEX_CALL =
48+ io.grpc.testing.integration.Test.StreamingOutputCallResponse> METHOD_HALF_BIDI_CALL =
4949 io.grpc.MethodDescriptor.create(
50- io.grpc.MethodDescriptor.MethodType.DUPLEX_STREAMING ,
51- "grpc.testing.TestService", "HalfDuplexCall ",
50+ io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING ,
51+ "grpc.testing.TestService", "HalfBidiCall ",
5252 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingOutputCallRequest.parser()),
5353 io.grpc.protobuf.ProtoUtils.marshaller(io.grpc.testing.integration.Test.StreamingOutputCallResponse.parser()));
5454
@@ -77,10 +77,10 @@ public class TestServiceGrpc {
7777 public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingInputCallRequest> streamingInputCall(
7878 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingInputCallResponse> responseObserver);
7979
80- public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> fullDuplexCall (
80+ public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> fullBidiCall (
8181 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver);
8282
83- public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> halfDuplexCall (
83+ public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> halfBidiCall (
8484 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver);
8585 }
8686
@@ -137,17 +137,17 @@ public class TestServiceGrpc {
137137 }
138138
139139 @java.lang.Override
140- public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> fullDuplexCall (
140+ public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> fullBidiCall (
141141 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver) {
142- return asyncDuplexStreamingCall (
143- channel.newCall(METHOD_FULL_DUPLEX_CALL , callOptions), responseObserver);
142+ return asyncBidiStreamingCall (
143+ channel.newCall(METHOD_FULL_BIDI_CALL , callOptions), responseObserver);
144144 }
145145
146146 @java.lang.Override
147- public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> halfDuplexCall (
147+ public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> halfBidiCall (
148148 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver) {
149- return asyncDuplexStreamingCall (
150- channel.newCall(METHOD_HALF_DUPLEX_CALL , callOptions), responseObserver);
149+ return asyncBidiStreamingCall (
150+ channel.newCall(METHOD_HALF_BIDI_CALL , callOptions), responseObserver);
151151 }
152152 }
153153
@@ -249,27 +249,27 @@ public class TestServiceGrpc {
249249 }
250250 })))
251251 .addMethod(io.grpc.ServerMethodDefinition.create(
252- METHOD_FULL_DUPLEX_CALL ,
253- asyncDuplexStreamingCall (
254- new io.grpc.stub.ServerCalls.DuplexStreamingMethod <
252+ METHOD_FULL_BIDI_CALL ,
253+ asyncBidiStreamingCall (
254+ new io.grpc.stub.ServerCalls.BidiStreamingMethod <
255255 io.grpc.testing.integration.Test.StreamingOutputCallRequest,
256256 io.grpc.testing.integration.Test.StreamingOutputCallResponse>() {
257257 @java.lang.Override
258258 public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> invoke(
259259 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver) {
260- return serviceImpl.fullDuplexCall (responseObserver);
260+ return serviceImpl.fullBidiCall (responseObserver);
261261 }
262262 })))
263263 .addMethod(io.grpc.ServerMethodDefinition.create(
264- METHOD_HALF_DUPLEX_CALL ,
265- asyncDuplexStreamingCall (
266- new io.grpc.stub.ServerCalls.DuplexStreamingMethod <
264+ METHOD_HALF_BIDI_CALL ,
265+ asyncBidiStreamingCall (
266+ new io.grpc.stub.ServerCalls.BidiStreamingMethod <
267267 io.grpc.testing.integration.Test.StreamingOutputCallRequest,
268268 io.grpc.testing.integration.Test.StreamingOutputCallResponse>() {
269269 @java.lang.Override
270270 public io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallRequest> invoke(
271271 io.grpc.stub.StreamObserver<io.grpc.testing.integration.Test.StreamingOutputCallResponse> responseObserver) {
272- return serviceImpl.halfDuplexCall (responseObserver);
272+ return serviceImpl.halfBidiCall (responseObserver);
273273 }
274274 }))).build();
275275 }
0 commit comments