@@ -26,53 +26,53 @@ public class TestServiceGrpc {
2626 io .grpc .MethodDescriptor .MethodType .UNARY ,
2727 generateFullMethodName (
2828 "grpc.testing.TestService" , "EmptyCall" ),
29- io .grpc .protobuf .ProtoUtils .marshaller (com .google .protobuf .EmptyProtos .Empty .parser ()),
30- io .grpc .protobuf .ProtoUtils .marshaller (com .google .protobuf .EmptyProtos .Empty .parser ()));
29+ io .grpc .protobuf .ProtoUtils .marshaller (com .google .protobuf .EmptyProtos .Empty .getDefaultInstance ()),
30+ io .grpc .protobuf .ProtoUtils .marshaller (com .google .protobuf .EmptyProtos .Empty .getDefaultInstance ()));
3131 @ io .grpc .ExperimentalApi
3232 public static final io .grpc .MethodDescriptor <io .grpc .testing .integration .Messages .SimpleRequest ,
3333 io .grpc .testing .integration .Messages .SimpleResponse > METHOD_UNARY_CALL =
3434 io .grpc .MethodDescriptor .create (
3535 io .grpc .MethodDescriptor .MethodType .UNARY ,
3636 generateFullMethodName (
3737 "grpc.testing.TestService" , "UnaryCall" ),
38- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .SimpleRequest .parser ()),
39- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .SimpleResponse .parser ()));
38+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .SimpleRequest .getDefaultInstance ()),
39+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .SimpleResponse .getDefaultInstance ()));
4040 @ io .grpc .ExperimentalApi
4141 public static final io .grpc .MethodDescriptor <io .grpc .testing .integration .Messages .StreamingOutputCallRequest ,
4242 io .grpc .testing .integration .Messages .StreamingOutputCallResponse > METHOD_STREAMING_OUTPUT_CALL =
4343 io .grpc .MethodDescriptor .create (
4444 io .grpc .MethodDescriptor .MethodType .SERVER_STREAMING ,
4545 generateFullMethodName (
4646 "grpc.testing.TestService" , "StreamingOutputCall" ),
47- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .parser ()),
48- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .parser ()));
47+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .getDefaultInstance ()),
48+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .getDefaultInstance ()));
4949 @ io .grpc .ExperimentalApi
5050 public static final io .grpc .MethodDescriptor <io .grpc .testing .integration .Messages .StreamingInputCallRequest ,
5151 io .grpc .testing .integration .Messages .StreamingInputCallResponse > METHOD_STREAMING_INPUT_CALL =
5252 io .grpc .MethodDescriptor .create (
5353 io .grpc .MethodDescriptor .MethodType .CLIENT_STREAMING ,
5454 generateFullMethodName (
5555 "grpc.testing.TestService" , "StreamingInputCall" ),
56- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingInputCallRequest .parser ()),
57- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingInputCallResponse .parser ()));
56+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingInputCallRequest .getDefaultInstance ()),
57+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingInputCallResponse .getDefaultInstance ()));
5858 @ io .grpc .ExperimentalApi
5959 public static final io .grpc .MethodDescriptor <io .grpc .testing .integration .Messages .StreamingOutputCallRequest ,
6060 io .grpc .testing .integration .Messages .StreamingOutputCallResponse > METHOD_FULL_DUPLEX_CALL =
6161 io .grpc .MethodDescriptor .create (
6262 io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING ,
6363 generateFullMethodName (
6464 "grpc.testing.TestService" , "FullDuplexCall" ),
65- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .parser ()),
66- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .parser ()));
65+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .getDefaultInstance ()),
66+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .getDefaultInstance ()));
6767 @ io .grpc .ExperimentalApi
6868 public static final io .grpc .MethodDescriptor <io .grpc .testing .integration .Messages .StreamingOutputCallRequest ,
6969 io .grpc .testing .integration .Messages .StreamingOutputCallResponse > METHOD_HALF_DUPLEX_CALL =
7070 io .grpc .MethodDescriptor .create (
7171 io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING ,
7272 generateFullMethodName (
7373 "grpc.testing.TestService" , "HalfDuplexCall" ),
74- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .parser ()),
75- io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .parser ()));
74+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallRequest .getDefaultInstance ()),
75+ io .grpc .protobuf .ProtoUtils .marshaller (io .grpc .testing .integration .Messages .StreamingOutputCallResponse .getDefaultInstance ()));
7676
7777 public static TestServiceStub newStub (io .grpc .Channel channel ) {
7878 return new TestServiceStub (channel );
0 commit comments