@@ -301,7 +301,7 @@ io.cloudquery.plugin.v3.Transform.Response> getTransformMethod() {
301301 fullMethodName = SERVICE_NAME + '/' + "TransformSchema" ,
302302 requestType = io .cloudquery .plugin .v3 .TransformSchema .Request .class ,
303303 responseType = io .cloudquery .plugin .v3 .TransformSchema .Response .class ,
304- methodType = io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
304+ methodType = io .grpc .MethodDescriptor .MethodType .UNARY )
305305 public static io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .TransformSchema .Request ,
306306 io .cloudquery .plugin .v3 .TransformSchema .Response > getTransformSchemaMethod () {
307307 io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .TransformSchema .Request , io .cloudquery .plugin .v3 .TransformSchema .Response > getTransformSchemaMethod ;
@@ -310,7 +310,7 @@ io.cloudquery.plugin.v3.TransformSchema.Response> getTransformSchemaMethod() {
310310 if ((getTransformSchemaMethod = PluginGrpc .getTransformSchemaMethod ) == null ) {
311311 PluginGrpc .getTransformSchemaMethod = getTransformSchemaMethod =
312312 io .grpc .MethodDescriptor .<io .cloudquery .plugin .v3 .TransformSchema .Request , io .cloudquery .plugin .v3 .TransformSchema .Response >newBuilder ()
313- .setType (io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
313+ .setType (io .grpc .MethodDescriptor .MethodType .UNARY )
314314 .setFullMethodName (generateFullMethodName (SERVICE_NAME , "TransformSchema" ))
315315 .setSampledToLocalTracing (true )
316316 .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
@@ -533,9 +533,9 @@ default io.grpc.stub.StreamObserver<io.cloudquery.plugin.v3.Transform.Request> t
533533 * Transform schemas.
534534 * </pre>
535535 */
536- default io .grpc . stub . StreamObserver < io . cloudquery .plugin .v3 .TransformSchema .Request > transformSchema (
536+ default void transformSchema ( io .cloudquery .plugin .v3 .TransformSchema .Request request ,
537537 io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response > responseObserver ) {
538- return io .grpc .stub .ServerCalls .asyncUnimplementedStreamingCall (getTransformSchemaMethod (), responseObserver );
538+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (getTransformSchemaMethod (), responseObserver );
539539 }
540540
541541 /**
@@ -693,10 +693,10 @@ public io.grpc.stub.StreamObserver<io.cloudquery.plugin.v3.Transform.Request> tr
693693 * Transform schemas.
694694 * </pre>
695695 */
696- public io .grpc . stub . StreamObserver < io . cloudquery .plugin .v3 .TransformSchema .Request > transformSchema (
696+ public void transformSchema ( io .cloudquery .plugin .v3 .TransformSchema .Request request ,
697697 io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response > responseObserver ) {
698- return io .grpc .stub .ClientCalls .asyncBidiStreamingCall (
699- getChannel ().newCall (getTransformSchemaMethod (), getCallOptions ()), responseObserver );
698+ io .grpc .stub .ClientCalls .asyncUnaryCall (
699+ getChannel ().newCall (getTransformSchemaMethod (), getCallOptions ()), request , responseObserver );
700700 }
701701
702702 /**
@@ -813,6 +813,16 @@ public java.util.Iterator<io.cloudquery.plugin.v3.Read.Response> read(
813813 getChannel (), getReadMethod (), getCallOptions (), request );
814814 }
815815
816+ /**
817+ * <pre>
818+ * Transform schemas.
819+ * </pre>
820+ */
821+ public io .cloudquery .plugin .v3 .TransformSchema .Response transformSchema (io .cloudquery .plugin .v3 .TransformSchema .Request request ) {
822+ return io .grpc .stub .ClientCalls .blockingUnaryCall (
823+ getChannel (), getTransformSchemaMethod (), getCallOptions (), request );
824+ }
825+
816826 /**
817827 * <pre>
818828 * Send signal to flush and close open connections
@@ -907,6 +917,17 @@ public com.google.common.util.concurrent.ListenableFuture<io.cloudquery.plugin.v
907917 getChannel ().newCall (getGetTablesMethod (), getCallOptions ()), request );
908918 }
909919
920+ /**
921+ * <pre>
922+ * Transform schemas.
923+ * </pre>
924+ */
925+ public com .google .common .util .concurrent .ListenableFuture <io .cloudquery .plugin .v3 .TransformSchema .Response > transformSchema (
926+ io .cloudquery .plugin .v3 .TransformSchema .Request request ) {
927+ return io .grpc .stub .ClientCalls .futureUnaryCall (
928+ getChannel ().newCall (getTransformSchemaMethod (), getCallOptions ()), request );
929+ }
930+
910931 /**
911932 * <pre>
912933 * Send signal to flush and close open connections
@@ -937,11 +958,11 @@ public com.google.common.util.concurrent.ListenableFuture<io.cloudquery.plugin.v
937958 private static final int METHODID_GET_TABLES = 4 ;
938959 private static final int METHODID_SYNC = 5 ;
939960 private static final int METHODID_READ = 6 ;
940- private static final int METHODID_CLOSE = 7 ;
941- private static final int METHODID_TEST_CONNECTION = 8 ;
942- private static final int METHODID_WRITE = 9 ;
943- private static final int METHODID_TRANSFORM = 10 ;
944- private static final int METHODID_TRANSFORM_SCHEMA = 11 ;
961+ private static final int METHODID_TRANSFORM_SCHEMA = 7 ;
962+ private static final int METHODID_CLOSE = 8 ;
963+ private static final int METHODID_TEST_CONNECTION = 9 ;
964+ private static final int METHODID_WRITE = 10 ;
965+ private static final int METHODID_TRANSFORM = 11 ;
945966
946967 private static final class MethodHandlers <Req , Resp > implements
947968 io .grpc .stub .ServerCalls .UnaryMethod <Req , Resp >,
@@ -988,6 +1009,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
9881009 serviceImpl .read ((io .cloudquery .plugin .v3 .Read .Request ) request ,
9891010 (io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .Read .Response >) responseObserver );
9901011 break ;
1012+ case METHODID_TRANSFORM_SCHEMA :
1013+ serviceImpl .transformSchema ((io .cloudquery .plugin .v3 .TransformSchema .Request ) request ,
1014+ (io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response >) responseObserver );
1015+ break ;
9911016 case METHODID_CLOSE :
9921017 serviceImpl .close ((io .cloudquery .plugin .v3 .Close .Request ) request ,
9931018 (io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .Close .Response >) responseObserver );
@@ -1012,9 +1037,6 @@ public io.grpc.stub.StreamObserver<Req> invoke(
10121037 case METHODID_TRANSFORM :
10131038 return (io .grpc .stub .StreamObserver <Req >) serviceImpl .transform (
10141039 (io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .Transform .Response >) responseObserver );
1015- case METHODID_TRANSFORM_SCHEMA :
1016- return (io .grpc .stub .StreamObserver <Req >) serviceImpl .transformSchema (
1017- (io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response >) responseObserver );
10181040 default :
10191041 throw new AssertionError ();
10201042 }
@@ -1088,7 +1110,7 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
10881110 service , METHODID_TRANSFORM )))
10891111 .addMethod (
10901112 getTransformSchemaMethod (),
1091- io .grpc .stub .ServerCalls .asyncBidiStreamingCall (
1113+ io .grpc .stub .ServerCalls .asyncUnaryCall (
10921114 new MethodHandlers <
10931115 io .cloudquery .plugin .v3 .TransformSchema .Request ,
10941116 io .cloudquery .plugin .v3 .TransformSchema .Response >(
0 commit comments