Skip to content

Commit 2a8d28d

Browse files
cq-botgithub-actions[bot]
authored andcommitted
fix: Generate Java Code from plugin-pb
1 parent eeed86b commit 2a8d28d

36 files changed

+164
-170
lines changed

build/generated/source/proto/main/grpc/io/cloudquery/discovery/v1/DiscoveryGrpc.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
/**
66
*/
7-
@javax.annotation.Generated(
8-
value = "by gRPC proto compiler (version 1.73.0)",
9-
comments = "Source: cloudquery/discovery/v1/discovery.proto")
107
@io.grpc.stub.annotations.GrpcGenerated
118
public final class DiscoveryGrpc {
129

@@ -180,8 +177,8 @@ protected DiscoveryBlockingV2Stub build(
180177
* Get the name of the plugin
181178
* </pre>
182179
*/
183-
public io.cloudquery.discovery.v1.GetVersions.Response getVersions(io.cloudquery.discovery.v1.GetVersions.Request request) {
184-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
180+
public io.cloudquery.discovery.v1.GetVersions.Response getVersions(io.cloudquery.discovery.v1.GetVersions.Request request) throws io.grpc.StatusException {
181+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
185182
getChannel(), getGetVersionsMethod(), getCallOptions(), request);
186183
}
187184
}

build/generated/source/proto/main/grpc/io/cloudquery/plugin/v3/PluginGrpc.java

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
/**
66
*/
7-
@javax.annotation.Generated(
8-
value = "by gRPC proto compiler (version 1.73.0)",
9-
comments = "Source: cloudquery/plugin/v3/plugin.proto")
107
@io.grpc.stub.annotations.GrpcGenerated
118
public final class PluginGrpc {
129

@@ -758,8 +755,8 @@ protected PluginBlockingV2Stub build(
758755
* Get the name of the plugin
759756
* </pre>
760757
*/
761-
public io.cloudquery.plugin.v3.GetName.Response getName(io.cloudquery.plugin.v3.GetName.Request request) {
762-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
758+
public io.cloudquery.plugin.v3.GetName.Response getName(io.cloudquery.plugin.v3.GetName.Request request) throws io.grpc.StatusException {
759+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
763760
getChannel(), getGetNameMethod(), getCallOptions(), request);
764761
}
765762

@@ -768,8 +765,8 @@ public io.cloudquery.plugin.v3.GetName.Response getName(io.cloudquery.plugin.v3.
768765
* Get the current version of the plugin
769766
* </pre>
770767
*/
771-
public io.cloudquery.plugin.v3.GetVersion.Response getVersion(io.cloudquery.plugin.v3.GetVersion.Request request) {
772-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
768+
public io.cloudquery.plugin.v3.GetVersion.Response getVersion(io.cloudquery.plugin.v3.GetVersion.Request request) throws io.grpc.StatusException {
769+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
773770
getChannel(), getGetVersionMethod(), getCallOptions(), request);
774771
}
775772

@@ -780,8 +777,8 @@ public io.cloudquery.plugin.v3.GetVersion.Response getVersion(io.cloudquery.plug
780777
* Should be called before Init.
781778
* </pre>
782779
*/
783-
public io.cloudquery.plugin.v3.GetSpecSchema.Response getSpecSchema(io.cloudquery.plugin.v3.GetSpecSchema.Request request) {
784-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
780+
public io.cloudquery.plugin.v3.GetSpecSchema.Response getSpecSchema(io.cloudquery.plugin.v3.GetSpecSchema.Request request) throws io.grpc.StatusException {
781+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
785782
getChannel(), getGetSpecSchemaMethod(), getCallOptions(), request);
786783
}
787784

@@ -790,8 +787,8 @@ public io.cloudquery.plugin.v3.GetSpecSchema.Response getSpecSchema(io.cloudquer
790787
* Configure the plugin with the given credentials and mode
791788
* </pre>
792789
*/
793-
public io.cloudquery.plugin.v3.Init.Response init(io.cloudquery.plugin.v3.Init.Request request) {
794-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
790+
public io.cloudquery.plugin.v3.Init.Response init(io.cloudquery.plugin.v3.Init.Request request) throws io.grpc.StatusException {
791+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
795792
getChannel(), getInitMethod(), getCallOptions(), request);
796793
}
797794

@@ -800,8 +797,8 @@ public io.cloudquery.plugin.v3.Init.Response init(io.cloudquery.plugin.v3.Init.R
800797
* Get all tables the source plugin supports. Must be called after Init
801798
* </pre>
802799
*/
803-
public io.cloudquery.plugin.v3.GetTables.Response getTables(io.cloudquery.plugin.v3.GetTables.Request request) {
804-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
800+
public io.cloudquery.plugin.v3.GetTables.Response getTables(io.cloudquery.plugin.v3.GetTables.Request request) throws io.grpc.StatusException {
801+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
805802
getChannel(), getGetTablesMethod(), getCallOptions(), request);
806803
}
807804

@@ -859,8 +856,8 @@ public io.cloudquery.plugin.v3.GetTables.Response getTables(io.cloudquery.plugin
859856
* Transform schemas.
860857
* </pre>
861858
*/
862-
public io.cloudquery.plugin.v3.TransformSchema.Response transformSchema(io.cloudquery.plugin.v3.TransformSchema.Request request) {
863-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
859+
public io.cloudquery.plugin.v3.TransformSchema.Response transformSchema(io.cloudquery.plugin.v3.TransformSchema.Request request) throws io.grpc.StatusException {
860+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
864861
getChannel(), getTransformSchemaMethod(), getCallOptions(), request);
865862
}
866863

@@ -869,8 +866,8 @@ public io.cloudquery.plugin.v3.TransformSchema.Response transformSchema(io.cloud
869866
* Send signal to flush and close open connections
870867
* </pre>
871868
*/
872-
public io.cloudquery.plugin.v3.Close.Response close(io.cloudquery.plugin.v3.Close.Request request) {
873-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
869+
public io.cloudquery.plugin.v3.Close.Response close(io.cloudquery.plugin.v3.Close.Request request) throws io.grpc.StatusException {
870+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
874871
getChannel(), getCloseMethod(), getCallOptions(), request);
875872
}
876873

@@ -879,8 +876,8 @@ public io.cloudquery.plugin.v3.Close.Response close(io.cloudquery.plugin.v3.Clos
879876
* Validate and test the connections used by the plugin
880877
* </pre>
881878
*/
882-
public io.cloudquery.plugin.v3.TestConnection.Response testConnection(io.cloudquery.plugin.v3.TestConnection.Request request) {
883-
return io.grpc.stub.ClientCalls.blockingUnaryCall(
879+
public io.cloudquery.plugin.v3.TestConnection.Response testConnection(io.cloudquery.plugin.v3.TestConnection.Request request) throws io.grpc.StatusException {
880+
return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
884881
getChannel(), getTestConnectionMethod(), getCallOptions(), request);
885882
}
886883
}

build/generated/source/proto/main/java/io/cloudquery/discovery/v1/DiscoveryOuterClass.java

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/discovery/v1/GetVersions.java

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/discovery/v1/GetVersionsOrBuilder.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/plugin/v3/Close.java

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/plugin/v3/CloseOrBuilder.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/plugin/v3/GetName.java

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/plugin/v3/GetNameOrBuilder.java

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/generated/source/proto/main/java/io/cloudquery/plugin/v3/GetSpecSchema.java

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)