@@ -294,6 +294,37 @@ io.cloudquery.plugin.v3.Transform.Response> getTransformMethod() {
294294 return getTransformMethod ;
295295 }
296296
297+ private static volatile io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .TransformSchema .Request ,
298+ io .cloudquery .plugin .v3 .TransformSchema .Response > getTransformSchemaMethod ;
299+
300+ @ io .grpc .stub .annotations .RpcMethod (
301+ fullMethodName = SERVICE_NAME + '/' + "TransformSchema" ,
302+ requestType = io .cloudquery .plugin .v3 .TransformSchema .Request .class ,
303+ responseType = io .cloudquery .plugin .v3 .TransformSchema .Response .class ,
304+ methodType = io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
305+ public static io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .TransformSchema .Request ,
306+ io .cloudquery .plugin .v3 .TransformSchema .Response > getTransformSchemaMethod () {
307+ io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .TransformSchema .Request , io .cloudquery .plugin .v3 .TransformSchema .Response > getTransformSchemaMethod ;
308+ if ((getTransformSchemaMethod = PluginGrpc .getTransformSchemaMethod ) == null ) {
309+ synchronized (PluginGrpc .class ) {
310+ if ((getTransformSchemaMethod = PluginGrpc .getTransformSchemaMethod ) == null ) {
311+ PluginGrpc .getTransformSchemaMethod = getTransformSchemaMethod =
312+ io .grpc .MethodDescriptor .<io .cloudquery .plugin .v3 .TransformSchema .Request , io .cloudquery .plugin .v3 .TransformSchema .Response >newBuilder ()
313+ .setType (io .grpc .MethodDescriptor .MethodType .BIDI_STREAMING )
314+ .setFullMethodName (generateFullMethodName (SERVICE_NAME , "TransformSchema" ))
315+ .setSampledToLocalTracing (true )
316+ .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
317+ io .cloudquery .plugin .v3 .TransformSchema .Request .getDefaultInstance ()))
318+ .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
319+ io .cloudquery .plugin .v3 .TransformSchema .Response .getDefaultInstance ()))
320+ .setSchemaDescriptor (new PluginMethodDescriptorSupplier ("TransformSchema" ))
321+ .build ();
322+ }
323+ }
324+ }
325+ return getTransformSchemaMethod ;
326+ }
327+
297328 private static volatile io .grpc .MethodDescriptor <io .cloudquery .plugin .v3 .Close .Request ,
298329 io .cloudquery .plugin .v3 .Close .Response > getCloseMethod ;
299330
@@ -497,6 +528,16 @@ default io.grpc.stub.StreamObserver<io.cloudquery.plugin.v3.Transform.Request> t
497528 return io .grpc .stub .ServerCalls .asyncUnimplementedStreamingCall (getTransformMethod (), responseObserver );
498529 }
499530
531+ /**
532+ * <pre>
533+ * Transform schemas.
534+ * </pre>
535+ */
536+ default io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Request > transformSchema (
537+ io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response > responseObserver ) {
538+ return io .grpc .stub .ServerCalls .asyncUnimplementedStreamingCall (getTransformSchemaMethod (), responseObserver );
539+ }
540+
500541 /**
501542 * <pre>
502543 * Send signal to flush and close open connections
@@ -647,6 +688,17 @@ public io.grpc.stub.StreamObserver<io.cloudquery.plugin.v3.Transform.Request> tr
647688 getChannel ().newCall (getTransformMethod (), getCallOptions ()), responseObserver );
648689 }
649690
691+ /**
692+ * <pre>
693+ * Transform schemas.
694+ * </pre>
695+ */
696+ public io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Request > transformSchema (
697+ io .grpc .stub .StreamObserver <io .cloudquery .plugin .v3 .TransformSchema .Response > responseObserver ) {
698+ return io .grpc .stub .ClientCalls .asyncBidiStreamingCall (
699+ getChannel ().newCall (getTransformSchemaMethod (), getCallOptions ()), responseObserver );
700+ }
701+
650702 /**
651703 * <pre>
652704 * Send signal to flush and close open connections
@@ -889,6 +941,7 @@ public com.google.common.util.concurrent.ListenableFuture<io.cloudquery.plugin.v
889941 private static final int METHODID_TEST_CONNECTION = 8 ;
890942 private static final int METHODID_WRITE = 9 ;
891943 private static final int METHODID_TRANSFORM = 10 ;
944+ private static final int METHODID_TRANSFORM_SCHEMA = 11 ;
892945
893946 private static final class MethodHandlers <Req , Resp > implements
894947 io .grpc .stub .ServerCalls .UnaryMethod <Req , Resp >,
@@ -959,6 +1012,9 @@ public io.grpc.stub.StreamObserver<Req> invoke(
9591012 case METHODID_TRANSFORM :
9601013 return (io .grpc .stub .StreamObserver <Req >) serviceImpl .transform (
9611014 (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 );
9621018 default :
9631019 throw new AssertionError ();
9641020 }
@@ -1030,6 +1086,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
10301086 io .cloudquery .plugin .v3 .Transform .Request ,
10311087 io .cloudquery .plugin .v3 .Transform .Response >(
10321088 service , METHODID_TRANSFORM )))
1089+ .addMethod (
1090+ getTransformSchemaMethod (),
1091+ io .grpc .stub .ServerCalls .asyncBidiStreamingCall (
1092+ new MethodHandlers <
1093+ io .cloudquery .plugin .v3 .TransformSchema .Request ,
1094+ io .cloudquery .plugin .v3 .TransformSchema .Response >(
1095+ service , METHODID_TRANSFORM_SCHEMA )))
10331096 .addMethod (
10341097 getCloseMethod (),
10351098 io .grpc .stub .ServerCalls .asyncUnaryCall (
@@ -1101,6 +1164,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
11011164 .addMethod (getReadMethod ())
11021165 .addMethod (getWriteMethod ())
11031166 .addMethod (getTransformMethod ())
1167+ .addMethod (getTransformSchemaMethod ())
11041168 .addMethod (getCloseMethod ())
11051169 .addMethod (getTestConnectionMethod ())
11061170 .build ();
0 commit comments