diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index c44b736..c7c8e47 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -28,9 +28,6 @@ jobs: test # Configure that a scope must always be provided. requireScope: false - # Configure additional validation for the subject based on a regex. - # This example ensures the subject starts with an uppercase character. - subjectPattern: ^[A-Z].+$ # If `subjectPattern` is configured, you can use this property to override # the default error message that is shown when the pattern doesn't match. # The variables `subject` and `title` can be used within the message. diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml new file mode 100644 index 0000000..0a7abd1 --- /dev/null +++ b/.github/workflows/regen.yml @@ -0,0 +1,36 @@ +name: Generate Python Code from plugin-pb +on: + schedule: + - cron: "0 8 * * *" + workflow_dispatch: + +jobs: + regen: + timeout-minutes: 30 + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '18' + cache: 'gradle' + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3 + - name: Generate code + run: | + make clone-proto + make gen-proto + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4 + with: + # required so the PR triggers workflow runs + token: ${{ secrets.GH_CQ_BOT }} + branch: fix/gen_proto + base: main + title: "fix: Generate Python Code from `plugin-pb`" + commit-message: "fix: Generate Python Code from `plugin-pb`" + body: This PR was created by a scheduled workflow to regenerate the Python code from `plugin-pb`. + author: cq-bot + labels: automerge diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml index bbd2e2b..ca23ce2 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -11,7 +11,7 @@ jobs: - uses: google-github-actions/release-please-action@v3 id: release with: - release-type: java + release-type: simple package-name: plugin-pb-java token: ${{ secrets.GH_CQ_BOT }} pull-request-title-pattern: "chore${scope}: Release${component} v${version}" diff --git a/.gitignore b/.gitignore index 4753e85..6c25e94 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,8 @@ replay_pid* plugin-pb/ # generated proto files -build/ +build/* +!build/generated/ .gradle .DS_Store \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f501308..dc2807a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.0.2](https://github.com/cloudquery/plugin-pb-java/compare/v0.0.1...v0.0.2) (2023-08-03) + + +### Bug Fixes + +* Bring back auto generated files ([40877ff](https://github.com/cloudquery/plugin-pb-java/commit/40877ff9d677c5163132b3b7e1ba0de4b852cd16)) + ## 0.0.1 (2023-08-03) @@ -11,4 +18,3 @@ ### Miscellaneous Chores * Release 0.0.1 ([ad018ee](https://github.com/cloudquery/plugin-pb-java/commit/ad018ee1552ace65836a343380ce292c896dab42)) - diff --git a/build.gradle b/build.gradle index f3ddab6..9390aa3 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ mainClassName = 'main.Main' group 'com.cloudquery' // x-release-please-start-version -version = '0.0.1' +version = '0.0.2' // x-release-please-end repositories { diff --git a/build/generated/source/proto/main/grpc/cloudquery/discovery/v1/DiscoveryGrpc.java b/build/generated/source/proto/main/grpc/cloudquery/discovery/v1/DiscoveryGrpc.java new file mode 100644 index 0000000..0d971b3 --- /dev/null +++ b/build/generated/source/proto/main/grpc/cloudquery/discovery/v1/DiscoveryGrpc.java @@ -0,0 +1,305 @@ +package cloudquery.discovery.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.57.0)", + comments = "Source: cloudquery/discovery/v1/discovery.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DiscoveryGrpc { + + private DiscoveryGrpc() {} + + public static final java.lang.String SERVICE_NAME = "cloudquery.discovery.v1.Discovery"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersions", + requestType = cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.class, + responseType = cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionsMethod() { + io.grpc.MethodDescriptor getGetVersionsMethod; + if ((getGetVersionsMethod = DiscoveryGrpc.getGetVersionsMethod) == null) { + synchronized (DiscoveryGrpc.class) { + if ((getGetVersionsMethod = DiscoveryGrpc.getGetVersionsMethod) == null) { + DiscoveryGrpc.getGetVersionsMethod = getGetVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.getDefaultInstance())) + .setSchemaDescriptor(new DiscoveryMethodDescriptorSupplier("GetVersions")) + .build(); + } + } + } + return getGetVersionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DiscoveryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DiscoveryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryStub(channel, callOptions); + } + }; + return DiscoveryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DiscoveryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DiscoveryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryBlockingStub(channel, callOptions); + } + }; + return DiscoveryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DiscoveryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DiscoveryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryFutureStub(channel, callOptions); + } + }; + return DiscoveryFutureStub.newStub(factory, channel); + } + + /** + */ + public interface AsyncService { + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + default void getVersions(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Discovery. + */ + public static abstract class DiscoveryImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DiscoveryGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Discovery. + */ + public static final class DiscoveryStub + extends io.grpc.stub.AbstractAsyncStub { + private DiscoveryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DiscoveryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public void getVersions(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Discovery. + */ + public static final class DiscoveryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DiscoveryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DiscoveryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryBlockingStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response getVersions(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Discovery. + */ + public static final class DiscoveryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DiscoveryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DiscoveryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DiscoveryFutureStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersions( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_VERSIONS = 0; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_VERSIONS: + serviceImpl.getVersions((cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request, + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response>( + service, METHODID_GET_VERSIONS))) + .build(); + } + + private static abstract class DiscoveryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DiscoveryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Discovery"); + } + } + + private static final class DiscoveryFileDescriptorSupplier + extends DiscoveryBaseDescriptorSupplier { + DiscoveryFileDescriptorSupplier() {} + } + + private static final class DiscoveryMethodDescriptorSupplier + extends DiscoveryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DiscoveryMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DiscoveryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DiscoveryFileDescriptorSupplier()) + .addMethod(getGetVersionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/build/generated/source/proto/main/grpc/cloudquery/plugin/v3/PluginGrpc.java b/build/generated/source/proto/main/grpc/cloudquery/plugin/v3/PluginGrpc.java new file mode 100644 index 0000000..f424538 --- /dev/null +++ b/build/generated/source/proto/main/grpc/cloudquery/plugin/v3/PluginGrpc.java @@ -0,0 +1,868 @@ +package cloudquery.plugin.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.57.0)", + comments = "Source: cloudquery/plugin/v3/plugin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PluginGrpc { + + private PluginGrpc() {} + + public static final java.lang.String SERVICE_NAME = "cloudquery.plugin.v3.Plugin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetNameMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetName", + requestType = cloudquery.plugin.v3.PluginOuterClass.GetName.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.GetName.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNameMethod() { + io.grpc.MethodDescriptor getGetNameMethod; + if ((getGetNameMethod = PluginGrpc.getGetNameMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getGetNameMethod = PluginGrpc.getGetNameMethod) == null) { + PluginGrpc.getGetNameMethod = getGetNameMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetName")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetName.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetName.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("GetName")) + .build(); + } + } + } + return getGetNameMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = PluginGrpc.getGetVersionMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getGetVersionMethod = PluginGrpc.getGetVersionMethod) == null) { + PluginGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getInitMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Init", + requestType = cloudquery.plugin.v3.PluginOuterClass.Init.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.Init.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInitMethod() { + io.grpc.MethodDescriptor getInitMethod; + if ((getInitMethod = PluginGrpc.getInitMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getInitMethod = PluginGrpc.getInitMethod) == null) { + PluginGrpc.getInitMethod = getInitMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Init")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Init.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Init.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("Init")) + .build(); + } + } + } + return getInitMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTablesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTables", + requestType = cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTablesMethod() { + io.grpc.MethodDescriptor getGetTablesMethod; + if ((getGetTablesMethod = PluginGrpc.getGetTablesMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getGetTablesMethod = PluginGrpc.getGetTablesMethod) == null) { + PluginGrpc.getGetTablesMethod = getGetTablesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTables")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("GetTables")) + .build(); + } + } + } + return getGetTablesMethod; + } + + private static volatile io.grpc.MethodDescriptor getSyncMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Sync", + requestType = cloudquery.plugin.v3.PluginOuterClass.Sync.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.Sync.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getSyncMethod() { + io.grpc.MethodDescriptor getSyncMethod; + if ((getSyncMethod = PluginGrpc.getSyncMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getSyncMethod = PluginGrpc.getSyncMethod) == null) { + PluginGrpc.getSyncMethod = getSyncMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Sync")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Sync.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Sync.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("Sync")) + .build(); + } + } + } + return getSyncMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Read", + requestType = cloudquery.plugin.v3.PluginOuterClass.Read.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.Read.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadMethod() { + io.grpc.MethodDescriptor getReadMethod; + if ((getReadMethod = PluginGrpc.getReadMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getReadMethod = PluginGrpc.getReadMethod) == null) { + PluginGrpc.getReadMethod = getReadMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Read.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Read.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("Read")) + .build(); + } + } + } + return getReadMethod; + } + + private static volatile io.grpc.MethodDescriptor getWriteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Write", + requestType = cloudquery.plugin.v3.PluginOuterClass.Write.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.Write.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) + public static io.grpc.MethodDescriptor getWriteMethod() { + io.grpc.MethodDescriptor getWriteMethod; + if ((getWriteMethod = PluginGrpc.getWriteMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getWriteMethod = PluginGrpc.getWriteMethod) == null) { + PluginGrpc.getWriteMethod = getWriteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Write")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Write.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Write.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("Write")) + .build(); + } + } + } + return getWriteMethod; + } + + private static volatile io.grpc.MethodDescriptor getCloseMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Close", + requestType = cloudquery.plugin.v3.PluginOuterClass.Close.Request.class, + responseType = cloudquery.plugin.v3.PluginOuterClass.Close.Response.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCloseMethod() { + io.grpc.MethodDescriptor getCloseMethod; + if ((getCloseMethod = PluginGrpc.getCloseMethod) == null) { + synchronized (PluginGrpc.class) { + if ((getCloseMethod = PluginGrpc.getCloseMethod) == null) { + PluginGrpc.getCloseMethod = getCloseMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Close")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Close.Request.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + cloudquery.plugin.v3.PluginOuterClass.Close.Response.getDefaultInstance())) + .setSchemaDescriptor(new PluginMethodDescriptorSupplier("Close")) + .build(); + } + } + } + return getCloseMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static PluginStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PluginStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginStub(channel, callOptions); + } + }; + return PluginStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PluginBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PluginBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginBlockingStub(channel, callOptions); + } + }; + return PluginBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static PluginFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PluginFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginFutureStub(channel, callOptions); + } + }; + return PluginFutureStub.newStub(factory, channel); + } + + /** + */ + public interface AsyncService { + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + default void getName(cloudquery.plugin.v3.PluginOuterClass.GetName.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNameMethod(), responseObserver); + } + + /** + *
+     * Get the current version of the plugin
+     * 
+ */ + default void getVersion(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Configure the plugin with the given credentials and mode
+     * 
+ */ + default void init(cloudquery.plugin.v3.PluginOuterClass.Init.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitMethod(), responseObserver); + } + + /** + *
+     * Get all tables the source plugin supports. Must be called after Init
+     * 
+ */ + default void getTables(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTablesMethod(), responseObserver); + } + + /** + *
+     * Start a sync on the source plugin. It streams messages as output.
+     * 
+ */ + default void sync(cloudquery.plugin.v3.PluginOuterClass.Sync.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSyncMethod(), responseObserver); + } + + /** + *
+     * Start a Read on the source plugin for a given table and schema. It streams messages as output.
+     * The plugin assume that that schema was used to also write the data beforehand
+     * 
+ */ + default void read(cloudquery.plugin.v3.PluginOuterClass.Read.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadMethod(), responseObserver); + } + + /** + *
+     * Write resources. Write is the mirror of Sync, expecting a stream of messages as input.
+     * 
+ */ + default io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getWriteMethod(), responseObserver); + } + + /** + *
+     * Send signal to flush and close open connections
+     * 
+ */ + default void close(cloudquery.plugin.v3.PluginOuterClass.Close.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCloseMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Plugin. + */ + public static abstract class PluginImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return PluginGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Plugin. + */ + public static final class PluginStub + extends io.grpc.stub.AbstractAsyncStub { + private PluginStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PluginStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public void getName(cloudquery.plugin.v3.PluginOuterClass.GetName.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNameMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the current version of the plugin
+     * 
+ */ + public void getVersion(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Configure the plugin with the given credentials and mode
+     * 
+ */ + public void init(cloudquery.plugin.v3.PluginOuterClass.Init.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInitMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get all tables the source plugin supports. Must be called after Init
+     * 
+ */ + public void getTables(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTablesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Start a sync on the source plugin. It streams messages as output.
+     * 
+ */ + public void sync(cloudquery.plugin.v3.PluginOuterClass.Sync.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getSyncMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Start a Read on the source plugin for a given table and schema. It streams messages as output.
+     * The plugin assume that that schema was used to also write the data beforehand
+     * 
+ */ + public void read(cloudquery.plugin.v3.PluginOuterClass.Read.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Write resources. Write is the mirror of Sync, expecting a stream of messages as input.
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncClientStreamingCall( + getChannel().newCall(getWriteMethod(), getCallOptions()), responseObserver); + } + + /** + *
+     * Send signal to flush and close open connections
+     * 
+ */ + public void close(cloudquery.plugin.v3.PluginOuterClass.Close.Request request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCloseMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Plugin. + */ + public static final class PluginBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PluginBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PluginBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginBlockingStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public cloudquery.plugin.v3.PluginOuterClass.GetName.Response getName(cloudquery.plugin.v3.PluginOuterClass.GetName.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNameMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the current version of the plugin
+     * 
+ */ + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response getVersion(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Configure the plugin with the given credentials and mode
+     * 
+ */ + public cloudquery.plugin.v3.PluginOuterClass.Init.Response init(cloudquery.plugin.v3.PluginOuterClass.Init.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInitMethod(), getCallOptions(), request); + } + + /** + *
+     * Get all tables the source plugin supports. Must be called after Init
+     * 
+ */ + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Response getTables(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTablesMethod(), getCallOptions(), request); + } + + /** + *
+     * Start a sync on the source plugin. It streams messages as output.
+     * 
+ */ + public java.util.Iterator sync( + cloudquery.plugin.v3.PluginOuterClass.Sync.Request request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getSyncMethod(), getCallOptions(), request); + } + + /** + *
+     * Start a Read on the source plugin for a given table and schema. It streams messages as output.
+     * The plugin assume that that schema was used to also write the data beforehand
+     * 
+ */ + public java.util.Iterator read( + cloudquery.plugin.v3.PluginOuterClass.Read.Request request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadMethod(), getCallOptions(), request); + } + + /** + *
+     * Send signal to flush and close open connections
+     * 
+ */ + public cloudquery.plugin.v3.PluginOuterClass.Close.Response close(cloudquery.plugin.v3.PluginOuterClass.Close.Request request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCloseMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Plugin. + */ + public static final class PluginFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PluginFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PluginFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PluginFutureStub(channel, callOptions); + } + + /** + *
+     * Get the name of the plugin
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getName( + cloudquery.plugin.v3.PluginOuterClass.GetName.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNameMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the current version of the plugin
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Configure the plugin with the given credentials and mode
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture init( + cloudquery.plugin.v3.PluginOuterClass.Init.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInitMethod(), getCallOptions()), request); + } + + /** + *
+     * Get all tables the source plugin supports. Must be called after Init
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTables( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTablesMethod(), getCallOptions()), request); + } + + /** + *
+     * Send signal to flush and close open connections
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture close( + cloudquery.plugin.v3.PluginOuterClass.Close.Request request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCloseMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_NAME = 0; + private static final int METHODID_GET_VERSION = 1; + private static final int METHODID_INIT = 2; + private static final int METHODID_GET_TABLES = 3; + private static final int METHODID_SYNC = 4; + private static final int METHODID_READ = 5; + private static final int METHODID_CLOSE = 6; + private static final int METHODID_WRITE = 7; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_NAME: + serviceImpl.getName((cloudquery.plugin.v3.PluginOuterClass.GetName.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INIT: + serviceImpl.init((cloudquery.plugin.v3.PluginOuterClass.Init.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TABLES: + serviceImpl.getTables((cloudquery.plugin.v3.PluginOuterClass.GetTables.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SYNC: + serviceImpl.sync((cloudquery.plugin.v3.PluginOuterClass.Sync.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ: + serviceImpl.read((cloudquery.plugin.v3.PluginOuterClass.Read.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CLOSE: + serviceImpl.close((cloudquery.plugin.v3.PluginOuterClass.Close.Request) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_WRITE: + return (io.grpc.stub.StreamObserver) serviceImpl.write( + (io.grpc.stub.StreamObserver) responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetNameMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.GetName.Request, + cloudquery.plugin.v3.PluginOuterClass.GetName.Response>( + service, METHODID_GET_NAME))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request, + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response>( + service, METHODID_GET_VERSION))) + .addMethod( + getInitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.Init.Request, + cloudquery.plugin.v3.PluginOuterClass.Init.Response>( + service, METHODID_INIT))) + .addMethod( + getGetTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request, + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response>( + service, METHODID_GET_TABLES))) + .addMethod( + getSyncMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.Sync.Request, + cloudquery.plugin.v3.PluginOuterClass.Sync.Response>( + service, METHODID_SYNC))) + .addMethod( + getReadMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.Read.Request, + cloudquery.plugin.v3.PluginOuterClass.Read.Response>( + service, METHODID_READ))) + .addMethod( + getWriteMethod(), + io.grpc.stub.ServerCalls.asyncClientStreamingCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.Write.Request, + cloudquery.plugin.v3.PluginOuterClass.Write.Response>( + service, METHODID_WRITE))) + .addMethod( + getCloseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + cloudquery.plugin.v3.PluginOuterClass.Close.Request, + cloudquery.plugin.v3.PluginOuterClass.Close.Response>( + service, METHODID_CLOSE))) + .build(); + } + + private static abstract class PluginBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PluginBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Plugin"); + } + } + + private static final class PluginFileDescriptorSupplier + extends PluginBaseDescriptorSupplier { + PluginFileDescriptorSupplier() {} + } + + private static final class PluginMethodDescriptorSupplier + extends PluginBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + PluginMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (PluginGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PluginFileDescriptorSupplier()) + .addMethod(getGetNameMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getInitMethod()) + .addMethod(getGetTablesMethod()) + .addMethod(getSyncMethod()) + .addMethod(getReadMethod()) + .addMethod(getWriteMethod()) + .addMethod(getCloseMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/build/generated/source/proto/main/java/cloudquery/discovery/v1/DiscoveryOuterClass.java b/build/generated/source/proto/main/java/cloudquery/discovery/v1/DiscoveryOuterClass.java new file mode 100644 index 0000000..2d01e77 --- /dev/null +++ b/build/generated/source/proto/main/java/cloudquery/discovery/v1/DiscoveryOuterClass.java @@ -0,0 +1,1363 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cloudquery/discovery/v1/discovery.proto + +package cloudquery.discovery.v1; + +public final class DiscoveryOuterClass { + private DiscoveryOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface GetVersionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.discovery.v1.GetVersions) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions} + */ + public static final class GetVersions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.discovery.v1.GetVersions) + GetVersionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetVersions.newBuilder() to construct. + private GetVersions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetVersions() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetVersions(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.discovery.v1.GetVersions.Request) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.discovery.v1.GetVersions.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request)) { + return super.equals(obj); + } + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request other = (cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.discovery.v1.GetVersions.Request) + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.Builder.class); + } + + // Construct using cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Request_descriptor; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request getDefaultInstanceForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request build() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request buildPartial() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request result = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request) { + return mergeFrom((cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request other) { + if (other == cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.discovery.v1.GetVersions.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.discovery.v1.GetVersions.Request) + private static final cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request(); + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.discovery.v1.GetVersions.Response) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated int32 versions = 1; + * @return A list containing the versions. + */ + java.util.List getVersionsList(); + /** + * repeated int32 versions = 1; + * @return The count of versions. + */ + int getVersionsCount(); + /** + * repeated int32 versions = 1; + * @param index The index of the element to return. + * @return The versions at the given index. + */ + int getVersions(int index); + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.discovery.v1.GetVersions.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + versions_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.Builder.class); + } + + public static final int VERSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList versions_; + /** + * repeated int32 versions = 1; + * @return A list containing the versions. + */ + @java.lang.Override + public java.util.List + getVersionsList() { + return versions_; + } + /** + * repeated int32 versions = 1; + * @return The count of versions. + */ + public int getVersionsCount() { + return versions_.size(); + } + /** + * repeated int32 versions = 1; + * @param index The index of the element to return. + * @return The versions at the given index. + */ + public int getVersions(int index) { + return versions_.getInt(index); + } + private int versionsMemoizedSerializedSize = -1; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (getVersionsList().size() > 0) { + output.writeUInt32NoTag(10); + output.writeUInt32NoTag(versionsMemoizedSerializedSize); + } + for (int i = 0; i < versions_.size(); i++) { + output.writeInt32NoTag(versions_.getInt(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < versions_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(versions_.getInt(i)); + } + size += dataSize; + if (!getVersionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + versionsMemoizedSerializedSize = dataSize; + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response)) { + return super.equals(obj); + } + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response other = (cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response) obj; + + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getVersionsCount() > 0) { + hash = (37 * hash) + VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getVersionsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.discovery.v1.GetVersions.Response) + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.Builder.class); + } + + // Construct using cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + versions_ = emptyIntList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_Response_descriptor; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response getDefaultInstanceForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response build() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response buildPartial() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response result = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response result) { + if (((bitField0_ & 0x00000001) != 0)) { + versions_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.versions_ = versions_; + } + + private void buildPartial0(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response) { + return mergeFrom((cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response other) { + if (other == cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response.getDefaultInstance()) return this; + if (!other.versions_.isEmpty()) { + if (versions_.isEmpty()) { + versions_ = other.versions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureVersionsIsMutable(); + versions_.addAll(other.versions_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int v = input.readInt32(); + ensureVersionsIsMutable(); + versions_.addInt(v); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureVersionsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + versions_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.Internal.IntList versions_ = emptyIntList(); + private void ensureVersionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + versions_ = mutableCopy(versions_); + bitField0_ |= 0x00000001; + } + } + /** + * repeated int32 versions = 1; + * @return A list containing the versions. + */ + public java.util.List + getVersionsList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(versions_) : versions_; + } + /** + * repeated int32 versions = 1; + * @return The count of versions. + */ + public int getVersionsCount() { + return versions_.size(); + } + /** + * repeated int32 versions = 1; + * @param index The index of the element to return. + * @return The versions at the given index. + */ + public int getVersions(int index) { + return versions_.getInt(index); + } + /** + * repeated int32 versions = 1; + * @param index The index to set the value at. + * @param value The versions to set. + * @return This builder for chaining. + */ + public Builder setVersions( + int index, int value) { + + ensureVersionsIsMutable(); + versions_.setInt(index, value); + onChanged(); + return this; + } + /** + * repeated int32 versions = 1; + * @param value The versions to add. + * @return This builder for chaining. + */ + public Builder addVersions(int value) { + + ensureVersionsIsMutable(); + versions_.addInt(value); + onChanged(); + return this; + } + /** + * repeated int32 versions = 1; + * @param values The versions to add. + * @return This builder for chaining. + */ + public Builder addAllVersions( + java.lang.Iterable values) { + ensureVersionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); + onChanged(); + return this; + } + /** + * repeated int32 versions = 1; + * @return This builder for chaining. + */ + public Builder clearVersions() { + versions_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.discovery.v1.GetVersions.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.discovery.v1.GetVersions.Response) + private static final cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response(); + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions)) { + return super.equals(obj); + } + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions other = (cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.discovery.v1.GetVersions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.discovery.v1.GetVersions) + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.class, cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.Builder.class); + } + + // Construct using cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.internal_static_cloudquery_discovery_v1_GetVersions_descriptor; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions getDefaultInstanceForType() { + return cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions build() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions buildPartial() { + cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions result = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions) { + return mergeFrom((cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions other) { + if (other == cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.discovery.v1.GetVersions) + } + + // @@protoc_insertion_point(class_scope:cloudquery.discovery.v1.GetVersions) + private static final cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions(); + } + + public static cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.discovery.v1.DiscoveryOuterClass.GetVersions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_discovery_v1_GetVersions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_discovery_v1_GetVersions_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_discovery_v1_GetVersions_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_discovery_v1_GetVersions_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_discovery_v1_GetVersions_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_discovery_v1_GetVersions_Response_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'cloudquery/discovery/v1/discovery.prot" + + "o\022\027cloudquery.discovery.v1\"6\n\013GetVersion" + + "s\032\t\n\007Request\032\034\n\010Response\022\020\n\010versions\030\001 \003" + + "(\0052w\n\tDiscovery\022j\n\013GetVersions\022,.cloudqu" + + "ery.discovery.v1.GetVersions.Request\032-.c" + + "loudquery.discovery.v1.GetVersions.Respo" + + "nseB>Z builder) { + super(builder); + } + private GetName() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetName(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetName.Request) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetName.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetName.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Request.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetName.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetName.Request other = (cloudquery.plugin.v3.PluginOuterClass.GetName.Request) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetName.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetName.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetName.Request) + cloudquery.plugin.v3.PluginOuterClass.GetName.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetName.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetName.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Request build() { + cloudquery.plugin.v3.PluginOuterClass.GetName.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetName.Request result = new cloudquery.plugin.v3.PluginOuterClass.GetName.Request(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetName.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetName.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetName.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetName.Request.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetName.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetName.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.GetName.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetName.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetName.Response) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetName.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetName.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Response.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetName.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetName.Response other = (cloudquery.plugin.v3.PluginOuterClass.GetName.Response) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetName.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetName.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetName.Response) + cloudquery.plugin.v3.PluginOuterClass.GetName.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetName.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetName.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Response build() { + cloudquery.plugin.v3.PluginOuterClass.GetName.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetName.Response result = new cloudquery.plugin.v3.PluginOuterClass.GetName.Response(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.GetName.Response result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetName.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetName.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetName.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetName.Response.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetName.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetName.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.GetName.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetName.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetName)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetName other = (cloudquery.plugin.v3.PluginOuterClass.GetName) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetName parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetName prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetName} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetName) + cloudquery.plugin.v3.PluginOuterClass.GetNameOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetName.class, cloudquery.plugin.v3.PluginOuterClass.GetName.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetName.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetName_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetName.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName build() { + cloudquery.plugin.v3.PluginOuterClass.GetName result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetName result = new cloudquery.plugin.v3.PluginOuterClass.GetName(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetName) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetName)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetName other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetName.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetName) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetName) + private static final cloudquery.plugin.v3.PluginOuterClass.GetName DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetName(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetName getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetName parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetName getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetVersion) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion} + */ + public static final class GetVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetVersion) + GetVersionOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetVersion.newBuilder() to construct. + private GetVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetVersion() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetVersion(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetVersion.Request) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetVersion.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request other = (cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetVersion.Request) + cloudquery.plugin.v3.PluginOuterClass.GetVersion.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request build() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request result = new cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetVersion.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetVersion.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetVersion.Response) + com.google.protobuf.MessageOrBuilder { + + /** + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetVersion.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + version_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response other = (cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetVersion.Response) + cloudquery.plugin.v3.PluginOuterClass.GetVersion.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response build() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response result = new cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object version_ = ""; + /** + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetVersion.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetVersion.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetVersion other = (cloudquery.plugin.v3.PluginOuterClass.GetVersion) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetVersion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetVersion) + cloudquery.plugin.v3.PluginOuterClass.GetVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetVersion.class, cloudquery.plugin.v3.PluginOuterClass.GetVersion.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetVersion.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetVersion_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetVersion.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion build() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetVersion result = new cloudquery.plugin.v3.PluginOuterClass.GetVersion(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetVersion) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetVersion other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetVersion.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetVersion) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetVersion) + private static final cloudquery.plugin.v3.PluginOuterClass.GetVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetVersion(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InitOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Init) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init} + */ + public static final class Init extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Init) + InitOrBuilder { + private static final long serialVersionUID = 0L; + // Use Init.newBuilder() to construct. + private Init(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Init() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Init(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.class, cloudquery.plugin.v3.PluginOuterClass.Init.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Init.Request) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * Internal plugin-specific spec
+       * 
+ * + * bytes spec = 1; + * @return The spec. + */ + com.google.protobuf.ByteString getSpec(); + + /** + *
+       * A flag to indicate plugins should skip establishing a connection
+       * 
+ * + * bool no_connection = 2; + * @return The noConnection. + */ + boolean getNoConnection(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Init.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + spec_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.Request.class, cloudquery.plugin.v3.PluginOuterClass.Init.Request.Builder.class); + } + + public static final int SPEC_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString spec_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * Internal plugin-specific spec
+       * 
+ * + * bytes spec = 1; + * @return The spec. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSpec() { + return spec_; + } + + public static final int NO_CONNECTION_FIELD_NUMBER = 2; + private boolean noConnection_ = false; + /** + *
+       * A flag to indicate plugins should skip establishing a connection
+       * 
+ * + * bool no_connection = 2; + * @return The noConnection. + */ + @java.lang.Override + public boolean getNoConnection() { + return noConnection_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!spec_.isEmpty()) { + output.writeBytes(1, spec_); + } + if (noConnection_ != false) { + output.writeBool(2, noConnection_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!spec_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, spec_); + } + if (noConnection_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, noConnection_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Init.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Init.Request other = (cloudquery.plugin.v3.PluginOuterClass.Init.Request) obj; + + if (!getSpec() + .equals(other.getSpec())) return false; + if (getNoConnection() + != other.getNoConnection()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSpec().hashCode(); + hash = (37 * hash) + NO_CONNECTION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNoConnection()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Init.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Init.Request) + cloudquery.plugin.v3.PluginOuterClass.Init.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.Request.class, cloudquery.plugin.v3.PluginOuterClass.Init.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Init.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + spec_ = com.google.protobuf.ByteString.EMPTY; + noConnection_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Init.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Request build() { + cloudquery.plugin.v3.PluginOuterClass.Init.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Init.Request result = new cloudquery.plugin.v3.PluginOuterClass.Init.Request(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Init.Request result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.spec_ = spec_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.noConnection_ = noConnection_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Init.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Init.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Init.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Init.Request.getDefaultInstance()) return this; + if (other.getSpec() != com.google.protobuf.ByteString.EMPTY) { + setSpec(other.getSpec()); + } + if (other.getNoConnection() != false) { + setNoConnection(other.getNoConnection()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + spec_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + noConnection_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString spec_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * Internal plugin-specific spec
+         * 
+ * + * bytes spec = 1; + * @return The spec. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSpec() { + return spec_; + } + /** + *
+         * Internal plugin-specific spec
+         * 
+ * + * bytes spec = 1; + * @param value The spec to set. + * @return This builder for chaining. + */ + public Builder setSpec(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + spec_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * Internal plugin-specific spec
+         * 
+ * + * bytes spec = 1; + * @return This builder for chaining. + */ + public Builder clearSpec() { + bitField0_ = (bitField0_ & ~0x00000001); + spec_ = getDefaultInstance().getSpec(); + onChanged(); + return this; + } + + private boolean noConnection_ ; + /** + *
+         * A flag to indicate plugins should skip establishing a connection
+         * 
+ * + * bool no_connection = 2; + * @return The noConnection. + */ + @java.lang.Override + public boolean getNoConnection() { + return noConnection_; + } + /** + *
+         * A flag to indicate plugins should skip establishing a connection
+         * 
+ * + * bool no_connection = 2; + * @param value The noConnection to set. + * @return This builder for chaining. + */ + public Builder setNoConnection(boolean value) { + + noConnection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+         * A flag to indicate plugins should skip establishing a connection
+         * 
+ * + * bool no_connection = 2; + * @return This builder for chaining. + */ + public Builder clearNoConnection() { + bitField0_ = (bitField0_ & ~0x00000002); + noConnection_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Init.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Init.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.Init.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Init.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Init.Response) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Init.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.Response.class, cloudquery.plugin.v3.PluginOuterClass.Init.Response.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Init.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Init.Response other = (cloudquery.plugin.v3.PluginOuterClass.Init.Response) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Init.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Init.Response) + cloudquery.plugin.v3.PluginOuterClass.Init.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.Response.class, cloudquery.plugin.v3.PluginOuterClass.Init.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Init.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Init.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Response build() { + cloudquery.plugin.v3.PluginOuterClass.Init.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Init.Response result = new cloudquery.plugin.v3.PluginOuterClass.Init.Response(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Init.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Init.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Init.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Init.Response.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Init.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Init.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.Init.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Init.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Init)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Init other = (cloudquery.plugin.v3.PluginOuterClass.Init) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Init parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Init prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Init} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Init) + cloudquery.plugin.v3.PluginOuterClass.InitOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Init.class, cloudquery.plugin.v3.PluginOuterClass.Init.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Init.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Init_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Init.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init build() { + cloudquery.plugin.v3.PluginOuterClass.Init result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Init result = new cloudquery.plugin.v3.PluginOuterClass.Init(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Init) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Init)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Init other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Init.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Init) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Init) + private static final cloudquery.plugin.v3.PluginOuterClass.Init DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Init(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Init getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Init parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Init getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetTablesOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetTables) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables} + */ + public static final class GetTables extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetTables) + GetTablesOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetTables.newBuilder() to construct. + private GetTables(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetTables() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetTables(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetTables.Request) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + java.util.List + getTablesList(); + /** + * repeated string tables = 1; + * @return The count of tables. + */ + int getTablesCount(); + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + java.lang.String getTables(int index); + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + com.google.protobuf.ByteString + getTablesBytes(int index); + + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + java.util.List + getSkipTablesList(); + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + int getSkipTablesCount(); + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + java.lang.String getSkipTables(int index); + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + com.google.protobuf.ByteString + getSkipTablesBytes(int index); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetTables.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.Builder.class); + } + + public static final int TABLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + public com.google.protobuf.ProtocolStringList + getTablesList() { + return tables_; + } + /** + * repeated string tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public java.lang.String getTables(int index) { + return tables_.get(index); + } + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + public com.google.protobuf.ByteString + getTablesBytes(int index) { + return tables_.getByteString(index); + } + + public static final int SKIP_TABLES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + public com.google.protobuf.ProtocolStringList + getSkipTablesList() { + return skipTables_; + } + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + public int getSkipTablesCount() { + return skipTables_.size(); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + public java.lang.String getSkipTables(int index) { + return skipTables_.get(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + public com.google.protobuf.ByteString + getSkipTablesBytes(int index) { + return skipTables_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < tables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tables_.getRaw(i)); + } + for (int i = 0; i < skipTables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skipTables_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < tables_.size(); i++) { + dataSize += computeStringSizeNoTag(tables_.getRaw(i)); + } + size += dataSize; + size += 1 * getTablesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < skipTables_.size(); i++) { + dataSize += computeStringSizeNoTag(skipTables_.getRaw(i)); + } + size += dataSize; + size += 1 * getSkipTablesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request other = (cloudquery.plugin.v3.PluginOuterClass.GetTables.Request) obj; + + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getSkipTablesList() + .equals(other.getSkipTablesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTablesCount() > 0) { + hash = (37 * hash) + TABLES_FIELD_NUMBER; + hash = (53 * hash) + getTablesList().hashCode(); + } + if (getSkipTablesCount() > 0) { + hash = (37 * hash) + SKIP_TABLES_FIELD_NUMBER; + hash = (53 * hash) + getSkipTablesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetTables.Request) + cloudquery.plugin.v3.PluginOuterClass.GetTables.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Request build() { + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetTables.Request result = new cloudquery.plugin.v3.PluginOuterClass.GetTables.Request(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + tables_.makeImmutable(); + result.tables_ = tables_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + skipTables_.makeImmutable(); + result.skipTables_ = skipTables_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetTables.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetTables.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetTables.Request.getDefaultInstance()) return this; + if (!other.tables_.isEmpty()) { + if (tables_.isEmpty()) { + tables_ = other.tables_; + bitField0_ |= 0x00000001; + } else { + ensureTablesIsMutable(); + tables_.addAll(other.tables_); + } + onChanged(); + } + if (!other.skipTables_.isEmpty()) { + if (skipTables_.isEmpty()) { + skipTables_ = other.skipTables_; + bitField0_ |= 0x00000002; + } else { + ensureSkipTablesIsMutable(); + skipTables_.addAll(other.skipTables_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTablesIsMutable(); + tables_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSkipTablesIsMutable(); + skipTables_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTablesIsMutable() { + if (!tables_.isModifiable()) { + tables_ = new com.google.protobuf.LazyStringArrayList(tables_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + public com.google.protobuf.ProtocolStringList + getTablesList() { + tables_.makeImmutable(); + return tables_; + } + /** + * repeated string tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public java.lang.String getTables(int index) { + return tables_.get(index); + } + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + public com.google.protobuf.ByteString + getTablesBytes(int index) { + return tables_.getByteString(index); + } + /** + * repeated string tables = 1; + * @param index The index to set the value at. + * @param value The tables to set. + * @return This builder for chaining. + */ + public Builder setTables( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param value The tables to add. + * @return This builder for chaining. + */ + public Builder addTables( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param values The tables to add. + * @return This builder for chaining. + */ + public Builder addAllTables( + java.lang.Iterable values) { + ensureTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @return This builder for chaining. + */ + public Builder clearTables() { + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param value The bytes of the tables to add. + * @return This builder for chaining. + */ + public Builder addTablesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureTablesIsMutable(); + tables_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSkipTablesIsMutable() { + if (!skipTables_.isModifiable()) { + skipTables_ = new com.google.protobuf.LazyStringArrayList(skipTables_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + public com.google.protobuf.ProtocolStringList + getSkipTablesList() { + skipTables_.makeImmutable(); + return skipTables_; + } + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + public int getSkipTablesCount() { + return skipTables_.size(); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + public java.lang.String getSkipTables(int index) { + return skipTables_.get(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + public com.google.protobuf.ByteString + getSkipTablesBytes(int index) { + return skipTables_.getByteString(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index to set the value at. + * @param value The skipTables to set. + * @return This builder for chaining. + */ + public Builder setSkipTables( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSkipTablesIsMutable(); + skipTables_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param value The skipTables to add. + * @return This builder for chaining. + */ + public Builder addSkipTables( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSkipTablesIsMutable(); + skipTables_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param values The skipTables to add. + * @return This builder for chaining. + */ + public Builder addAllSkipTables( + java.lang.Iterable values) { + ensureSkipTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, skipTables_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @return This builder for chaining. + */ + public Builder clearSkipTables() { + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param value The bytes of the skipTables to add. + * @return This builder for chaining. + */ + public Builder addSkipTablesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSkipTablesIsMutable(); + skipTables_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetTables.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetTables.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.GetTables.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetTables.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.GetTables.Response) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @return A list containing the tables. + */ + java.util.List getTablesList(); + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @return The count of tables. + */ + int getTablesCount(); + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + com.google.protobuf.ByteString getTables(int index); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.GetTables.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + tables_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.Builder.class); + } + + public static final int TABLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List tables_; + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @return A list containing the tables. + */ + @java.lang.Override + public java.util.List + getTablesList() { + return tables_; + } + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + *
+       * marshalled []arrow.Schema
+       * 
+ * + * repeated bytes tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public com.google.protobuf.ByteString getTables(int index) { + return tables_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < tables_.size(); i++) { + output.writeBytes(1, tables_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < tables_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(tables_.get(i)); + } + size += dataSize; + size += 1 * getTablesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response other = (cloudquery.plugin.v3.PluginOuterClass.GetTables.Response) obj; + + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTablesCount() > 0) { + hash = (37 * hash) + TABLES_FIELD_NUMBER; + hash = (53 * hash) + getTablesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetTables.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetTables.Response) + cloudquery.plugin.v3.PluginOuterClass.GetTables.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tables_ = java.util.Collections.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Response build() { + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetTables.Response result = new cloudquery.plugin.v3.PluginOuterClass.GetTables.Response(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(cloudquery.plugin.v3.PluginOuterClass.GetTables.Response result) { + if (((bitField0_ & 0x00000001) != 0)) { + tables_ = java.util.Collections.unmodifiableList(tables_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.tables_ = tables_; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.GetTables.Response result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetTables.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetTables.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetTables.Response.getDefaultInstance()) return this; + if (!other.tables_.isEmpty()) { + if (tables_.isEmpty()) { + tables_ = other.tables_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTablesIsMutable(); + tables_.addAll(other.tables_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureTablesIsMutable(); + tables_.add(v); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List tables_ = java.util.Collections.emptyList(); + private void ensureTablesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + tables_ = new java.util.ArrayList(tables_); + bitField0_ |= 0x00000001; + } + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @return A list containing the tables. + */ + public java.util.List + getTablesList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(tables_) : tables_; + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public com.google.protobuf.ByteString getTables(int index) { + return tables_.get(index); + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @param index The index to set the value at. + * @param value The tables to set. + * @return This builder for chaining. + */ + public Builder setTables( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.set(index, value); + onChanged(); + return this; + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @param value The tables to add. + * @return This builder for chaining. + */ + public Builder addTables(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.add(value); + onChanged(); + return this; + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @param values The tables to add. + * @return This builder for chaining. + */ + public Builder addAllTables( + java.lang.Iterable values) { + ensureTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); + onChanged(); + return this; + } + /** + *
+         * marshalled []arrow.Schema
+         * 
+ * + * repeated bytes tables = 1; + * @return This builder for chaining. + */ + public Builder clearTables() { + tables_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetTables.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetTables.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.GetTables.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetTables.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.GetTables other = (cloudquery.plugin.v3.PluginOuterClass.GetTables) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.GetTables parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.GetTables prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.GetTables} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.GetTables) + cloudquery.plugin.v3.PluginOuterClass.GetTablesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.GetTables.class, cloudquery.plugin.v3.PluginOuterClass.GetTables.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.GetTables.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_GetTables_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.GetTables.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables build() { + cloudquery.plugin.v3.PluginOuterClass.GetTables result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.GetTables result = new cloudquery.plugin.v3.PluginOuterClass.GetTables(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.GetTables) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.GetTables)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.GetTables other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.GetTables.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.GetTables) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.GetTables) + private static final cloudquery.plugin.v3.PluginOuterClass.GetTables DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.GetTables(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.GetTables getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTables parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.GetTables getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SyncOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync} + */ + public static final class Sync extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync) + SyncOrBuilder { + private static final long serialVersionUID = 0L; + // Use Sync.newBuilder() to construct. + private Sync(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Sync() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Sync(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Builder.class); + } + + public interface MessageInsertOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync.MessageInsert) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + com.google.protobuf.ByteString getRecord(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.MessageInsert} + */ + public static final class MessageInsert extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync.MessageInsert) + MessageInsertOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageInsert.newBuilder() to construct. + private MessageInsert(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MessageInsert() { + record_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MessageInsert(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageInsert_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.class, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder.class); + } + + public static final int RECORD_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!record_.isEmpty()) { + output.writeBytes(1, record_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!record_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, record_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert other = (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) obj; + + if (!getRecord() + .equals(other.getRecord())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RECORD_FIELD_NUMBER; + hash = (53 * hash) + getRecord().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.MessageInsert} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync.MessageInsert) + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageInsert_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.class, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + record_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert build() { + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert result = new cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.record_ = record_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance()) return this; + if (other.getRecord() != com.google.protobuf.ByteString.EMPTY) { + setRecord(other.getRecord()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + record_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @param value The record to set. + * @return This builder for chaining. + */ + public Builder setRecord(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + record_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return This builder for chaining. + */ + public Builder clearRecord() { + bitField0_ = (bitField0_ & ~0x00000001); + record_ = getDefaultInstance().getRecord(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync.MessageInsert) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync.MessageInsert) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MessageInsert parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MessageMigrateTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync.MessageMigrateTable) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + com.google.protobuf.ByteString getTable(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.MessageMigrateTable} + */ + public static final class MessageMigrateTable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync.MessageMigrateTable) + MessageMigrateTableOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageMigrateTable.newBuilder() to construct. + private MessageMigrateTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MessageMigrateTable() { + table_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MessageMigrateTable(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.class, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder.class); + } + + public static final int TABLE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!table_.isEmpty()) { + output.writeBytes(1, table_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!table_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, table_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable other = (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) obj; + + if (!getTable() + .equals(other.getTable())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.MessageMigrateTable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync.MessageMigrateTable) + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.class, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + table_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable build() { + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable result = new cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.table_ = table_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance()) return this; + if (other.getTable() != com.google.protobuf.ByteString.EMPTY) { + setTable(other.getTable()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + table_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return This builder for chaining. + */ + public Builder clearTable() { + bitField0_ = (bitField0_ & ~0x00000001); + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync.MessageMigrateTable) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync.MessageMigrateTable) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MessageMigrateTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BackendOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync.BackendOptions) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * table name to use for state backend
+       * 
+ * + * string table_name = 1; + * @return The tableName. + */ + java.lang.String getTableName(); + /** + *
+       * table name to use for state backend
+       * 
+ * + * string table_name = 1; + * @return The bytes for tableName. + */ + com.google.protobuf.ByteString + getTableNameBytes(); + + /** + *
+       * connection path to use for state backend
+       * 
+ * + * string connection = 2; + * @return The connection. + */ + java.lang.String getConnection(); + /** + *
+       * connection path to use for state backend
+       * 
+ * + * string connection = 2; + * @return The bytes for connection. + */ + com.google.protobuf.ByteString + getConnectionBytes(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.BackendOptions} + */ + public static final class BackendOptions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync.BackendOptions) + BackendOptionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use BackendOptions.newBuilder() to construct. + private BackendOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BackendOptions() { + tableName_ = ""; + connection_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BackendOptions(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_BackendOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.class, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder.class); + } + + public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object tableName_ = ""; + /** + *
+       * table name to use for state backend
+       * 
+ * + * string table_name = 1; + * @return The tableName. + */ + @java.lang.Override + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } + } + /** + *
+       * table name to use for state backend
+       * 
+ * + * string table_name = 1; + * @return The bytes for tableName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONNECTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object connection_ = ""; + /** + *
+       * connection path to use for state backend
+       * 
+ * + * string connection = 2; + * @return The connection. + */ + @java.lang.Override + public java.lang.String getConnection() { + java.lang.Object ref = connection_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + connection_ = s; + return s; + } + } + /** + *
+       * connection path to use for state backend
+       * 
+ * + * string connection = 2; + * @return The bytes for connection. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getConnectionBytes() { + java.lang.Object ref = connection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + connection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connection_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, connection_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connection_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, connection_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions other = (cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions) obj; + + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getConnection() + .equals(other.getConnection())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTableName().hashCode(); + hash = (37 * hash) + CONNECTION_FIELD_NUMBER; + hash = (53 * hash) + getConnection().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.BackendOptions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync.BackendOptions) + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_BackendOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.class, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tableName_ = ""; + connection_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions build() { + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions result = new cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tableName_ = tableName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.connection_ = connection_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance()) return this; + if (!other.getTableName().isEmpty()) { + tableName_ = other.tableName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getConnection().isEmpty()) { + connection_ = other.connection_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + connection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object tableName_ = ""; + /** + *
+         * table name to use for state backend
+         * 
+ * + * string table_name = 1; + * @return The tableName. + */ + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * table name to use for state backend
+         * 
+ * + * string table_name = 1; + * @return The bytes for tableName. + */ + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * table name to use for state backend
+         * 
+ * + * string table_name = 1; + * @param value The tableName to set. + * @return This builder for chaining. + */ + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tableName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * table name to use for state backend
+         * 
+ * + * string table_name = 1; + * @return This builder for chaining. + */ + public Builder clearTableName() { + tableName_ = getDefaultInstance().getTableName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+         * table name to use for state backend
+         * 
+ * + * string table_name = 1; + * @param value The bytes for tableName to set. + * @return This builder for chaining. + */ + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tableName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object connection_ = ""; + /** + *
+         * connection path to use for state backend
+         * 
+ * + * string connection = 2; + * @return The connection. + */ + public java.lang.String getConnection() { + java.lang.Object ref = connection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + connection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * connection path to use for state backend
+         * 
+ * + * string connection = 2; + * @return The bytes for connection. + */ + public com.google.protobuf.ByteString + getConnectionBytes() { + java.lang.Object ref = connection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + connection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * connection path to use for state backend
+         * 
+ * + * string connection = 2; + * @param value The connection to set. + * @return This builder for chaining. + */ + public Builder setConnection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + connection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+         * connection path to use for state backend
+         * 
+ * + * string connection = 2; + * @return This builder for chaining. + */ + public Builder clearConnection() { + connection_ = getDefaultInstance().getConnection(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+         * connection path to use for state backend
+         * 
+ * + * string connection = 2; + * @param value The bytes for connection to set. + * @return This builder for chaining. + */ + public Builder setConnectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + connection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync.BackendOptions) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync.BackendOptions) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackendOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync.Request) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + java.util.List + getTablesList(); + /** + * repeated string tables = 1; + * @return The count of tables. + */ + int getTablesCount(); + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + java.lang.String getTables(int index); + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + com.google.protobuf.ByteString + getTablesBytes(int index); + + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + java.util.List + getSkipTablesList(); + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + int getSkipTablesCount(); + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + java.lang.String getSkipTables(int index); + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + com.google.protobuf.ByteString + getSkipTablesBytes(int index); + + /** + * bool skip_dependent_tables = 3; + * @return The skipDependentTables. + */ + boolean getSkipDependentTables(); + + /** + * bool deterministic_cq_id = 4; + * @return The deterministicCqId. + */ + boolean getDeterministicCqId(); + + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return Whether the backend field is set. + */ + boolean hasBackend(); + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return The backend. + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getBackend(); + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder getBackendOrBuilder(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.Request.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Request.Builder.class); + } + + public static final int TABLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + public com.google.protobuf.ProtocolStringList + getTablesList() { + return tables_; + } + /** + * repeated string tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public java.lang.String getTables(int index) { + return tables_.get(index); + } + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + public com.google.protobuf.ByteString + getTablesBytes(int index) { + return tables_.getByteString(index); + } + + public static final int SKIP_TABLES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + public com.google.protobuf.ProtocolStringList + getSkipTablesList() { + return skipTables_; + } + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + public int getSkipTablesCount() { + return skipTables_.size(); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + public java.lang.String getSkipTables(int index) { + return skipTables_.get(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + public com.google.protobuf.ByteString + getSkipTablesBytes(int index) { + return skipTables_.getByteString(index); + } + + public static final int SKIP_DEPENDENT_TABLES_FIELD_NUMBER = 3; + private boolean skipDependentTables_ = false; + /** + * bool skip_dependent_tables = 3; + * @return The skipDependentTables. + */ + @java.lang.Override + public boolean getSkipDependentTables() { + return skipDependentTables_; + } + + public static final int DETERMINISTIC_CQ_ID_FIELD_NUMBER = 4; + private boolean deterministicCqId_ = false; + /** + * bool deterministic_cq_id = 4; + * @return The deterministicCqId. + */ + @java.lang.Override + public boolean getDeterministicCqId() { + return deterministicCqId_; + } + + public static final int BACKEND_FIELD_NUMBER = 5; + private cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions backend_; + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return Whether the backend field is set. + */ + @java.lang.Override + public boolean hasBackend() { + return backend_ != null; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return The backend. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getBackend() { + return backend_ == null ? cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance() : backend_; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder getBackendOrBuilder() { + return backend_ == null ? cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance() : backend_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < tables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tables_.getRaw(i)); + } + for (int i = 0; i < skipTables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skipTables_.getRaw(i)); + } + if (skipDependentTables_ != false) { + output.writeBool(3, skipDependentTables_); + } + if (deterministicCqId_ != false) { + output.writeBool(4, deterministicCqId_); + } + if (backend_ != null) { + output.writeMessage(5, getBackend()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < tables_.size(); i++) { + dataSize += computeStringSizeNoTag(tables_.getRaw(i)); + } + size += dataSize; + size += 1 * getTablesList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < skipTables_.size(); i++) { + dataSize += computeStringSizeNoTag(skipTables_.getRaw(i)); + } + size += dataSize; + size += 1 * getSkipTablesList().size(); + } + if (skipDependentTables_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, skipDependentTables_); + } + if (deterministicCqId_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, deterministicCqId_); + } + if (backend_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getBackend()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync.Request other = (cloudquery.plugin.v3.PluginOuterClass.Sync.Request) obj; + + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getSkipTablesList() + .equals(other.getSkipTablesList())) return false; + if (getSkipDependentTables() + != other.getSkipDependentTables()) return false; + if (getDeterministicCqId() + != other.getDeterministicCqId()) return false; + if (hasBackend() != other.hasBackend()) return false; + if (hasBackend()) { + if (!getBackend() + .equals(other.getBackend())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTablesCount() > 0) { + hash = (37 * hash) + TABLES_FIELD_NUMBER; + hash = (53 * hash) + getTablesList().hashCode(); + } + if (getSkipTablesCount() > 0) { + hash = (37 * hash) + SKIP_TABLES_FIELD_NUMBER; + hash = (53 * hash) + getSkipTablesList().hashCode(); + } + hash = (37 * hash) + SKIP_DEPENDENT_TABLES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSkipDependentTables()); + hash = (37 * hash) + DETERMINISTIC_CQ_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeterministicCqId()); + if (hasBackend()) { + hash = (37 * hash) + BACKEND_FIELD_NUMBER; + hash = (53 * hash) + getBackend().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync.Request) + cloudquery.plugin.v3.PluginOuterClass.Sync.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.Request.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + skipDependentTables_ = false; + deterministicCqId_ = false; + backend_ = null; + if (backendBuilder_ != null) { + backendBuilder_.dispose(); + backendBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Request build() { + cloudquery.plugin.v3.PluginOuterClass.Sync.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync.Request result = new cloudquery.plugin.v3.PluginOuterClass.Sync.Request(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Sync.Request result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + tables_.makeImmutable(); + result.tables_ = tables_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + skipTables_.makeImmutable(); + result.skipTables_ = skipTables_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.skipDependentTables_ = skipDependentTables_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.deterministicCqId_ = deterministicCqId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.backend_ = backendBuilder_ == null + ? backend_ + : backendBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.Request.getDefaultInstance()) return this; + if (!other.tables_.isEmpty()) { + if (tables_.isEmpty()) { + tables_ = other.tables_; + bitField0_ |= 0x00000001; + } else { + ensureTablesIsMutable(); + tables_.addAll(other.tables_); + } + onChanged(); + } + if (!other.skipTables_.isEmpty()) { + if (skipTables_.isEmpty()) { + skipTables_ = other.skipTables_; + bitField0_ |= 0x00000002; + } else { + ensureSkipTablesIsMutable(); + skipTables_.addAll(other.skipTables_); + } + onChanged(); + } + if (other.getSkipDependentTables() != false) { + setSkipDependentTables(other.getSkipDependentTables()); + } + if (other.getDeterministicCqId() != false) { + setDeterministicCqId(other.getDeterministicCqId()); + } + if (other.hasBackend()) { + mergeBackend(other.getBackend()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTablesIsMutable(); + tables_.add(s); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSkipTablesIsMutable(); + skipTables_.add(s); + break; + } // case 18 + case 24: { + skipDependentTables_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + deterministicCqId_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getBackendFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTablesIsMutable() { + if (!tables_.isModifiable()) { + tables_ = new com.google.protobuf.LazyStringArrayList(tables_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated string tables = 1; + * @return A list containing the tables. + */ + public com.google.protobuf.ProtocolStringList + getTablesList() { + tables_.makeImmutable(); + return tables_; + } + /** + * repeated string tables = 1; + * @return The count of tables. + */ + public int getTablesCount() { + return tables_.size(); + } + /** + * repeated string tables = 1; + * @param index The index of the element to return. + * @return The tables at the given index. + */ + public java.lang.String getTables(int index) { + return tables_.get(index); + } + /** + * repeated string tables = 1; + * @param index The index of the value to return. + * @return The bytes of the tables at the given index. + */ + public com.google.protobuf.ByteString + getTablesBytes(int index) { + return tables_.getByteString(index); + } + /** + * repeated string tables = 1; + * @param index The index to set the value at. + * @param value The tables to set. + * @return This builder for chaining. + */ + public Builder setTables( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param value The tables to add. + * @return This builder for chaining. + */ + public Builder addTables( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTablesIsMutable(); + tables_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param values The tables to add. + * @return This builder for chaining. + */ + public Builder addAllTables( + java.lang.Iterable values) { + ensureTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @return This builder for chaining. + */ + public Builder clearTables() { + tables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string tables = 1; + * @param value The bytes of the tables to add. + * @return This builder for chaining. + */ + public Builder addTablesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureTablesIsMutable(); + tables_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSkipTablesIsMutable() { + if (!skipTables_.isModifiable()) { + skipTables_ = new com.google.protobuf.LazyStringArrayList(skipTables_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string skip_tables = 2; + * @return A list containing the skipTables. + */ + public com.google.protobuf.ProtocolStringList + getSkipTablesList() { + skipTables_.makeImmutable(); + return skipTables_; + } + /** + * repeated string skip_tables = 2; + * @return The count of skipTables. + */ + public int getSkipTablesCount() { + return skipTables_.size(); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the element to return. + * @return The skipTables at the given index. + */ + public java.lang.String getSkipTables(int index) { + return skipTables_.get(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index of the value to return. + * @return The bytes of the skipTables at the given index. + */ + public com.google.protobuf.ByteString + getSkipTablesBytes(int index) { + return skipTables_.getByteString(index); + } + /** + * repeated string skip_tables = 2; + * @param index The index to set the value at. + * @param value The skipTables to set. + * @return This builder for chaining. + */ + public Builder setSkipTables( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSkipTablesIsMutable(); + skipTables_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param value The skipTables to add. + * @return This builder for chaining. + */ + public Builder addSkipTables( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSkipTablesIsMutable(); + skipTables_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param values The skipTables to add. + * @return This builder for chaining. + */ + public Builder addAllSkipTables( + java.lang.Iterable values) { + ensureSkipTablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, skipTables_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @return This builder for chaining. + */ + public Builder clearSkipTables() { + skipTables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string skip_tables = 2; + * @param value The bytes of the skipTables to add. + * @return This builder for chaining. + */ + public Builder addSkipTablesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSkipTablesIsMutable(); + skipTables_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean skipDependentTables_ ; + /** + * bool skip_dependent_tables = 3; + * @return The skipDependentTables. + */ + @java.lang.Override + public boolean getSkipDependentTables() { + return skipDependentTables_; + } + /** + * bool skip_dependent_tables = 3; + * @param value The skipDependentTables to set. + * @return This builder for chaining. + */ + public Builder setSkipDependentTables(boolean value) { + + skipDependentTables_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool skip_dependent_tables = 3; + * @return This builder for chaining. + */ + public Builder clearSkipDependentTables() { + bitField0_ = (bitField0_ & ~0x00000004); + skipDependentTables_ = false; + onChanged(); + return this; + } + + private boolean deterministicCqId_ ; + /** + * bool deterministic_cq_id = 4; + * @return The deterministicCqId. + */ + @java.lang.Override + public boolean getDeterministicCqId() { + return deterministicCqId_; + } + /** + * bool deterministic_cq_id = 4; + * @param value The deterministicCqId to set. + * @return This builder for chaining. + */ + public Builder setDeterministicCqId(boolean value) { + + deterministicCqId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool deterministic_cq_id = 4; + * @return This builder for chaining. + */ + public Builder clearDeterministicCqId() { + bitField0_ = (bitField0_ & ~0x00000008); + deterministicCqId_ = false; + onChanged(); + return this; + } + + private cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions backend_; + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder> backendBuilder_; + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return Whether the backend field is set. + */ + public boolean hasBackend() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + * @return The backend. + */ + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions getBackend() { + if (backendBuilder_ == null) { + return backend_ == null ? cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance() : backend_; + } else { + return backendBuilder_.getMessage(); + } + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public Builder setBackend(cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions value) { + if (backendBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + backend_ = value; + } else { + backendBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public Builder setBackend( + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder builderForValue) { + if (backendBuilder_ == null) { + backend_ = builderForValue.build(); + } else { + backendBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public Builder mergeBackend(cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions value) { + if (backendBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + backend_ != null && + backend_ != cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance()) { + getBackendBuilder().mergeFrom(value); + } else { + backend_ = value; + } + } else { + backendBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public Builder clearBackend() { + bitField0_ = (bitField0_ & ~0x00000010); + backend_ = null; + if (backendBuilder_ != null) { + backendBuilder_.dispose(); + backendBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder getBackendBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getBackendFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + public cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder getBackendOrBuilder() { + if (backendBuilder_ != null) { + return backendBuilder_.getMessageOrBuilder(); + } else { + return backend_ == null ? + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.getDefaultInstance() : backend_; + } + } + /** + * .cloudquery.plugin.v3.Sync.BackendOptions backend = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder> + getBackendFieldBuilder() { + if (backendBuilder_ == null) { + backendBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptions.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.BackendOptionsOrBuilder>( + getBackend(), + getParentForChildren(), + isClean()); + backend_ = null; + } + return backendBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Sync.Response) + com.google.protobuf.MessageOrBuilder { + + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + boolean hasMigrateTable(); + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getMigrateTable(); + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder getMigrateTableOrBuilder(); + + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + boolean hasInsert(); + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return The insert. + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getInsert(); + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder getInsertOrBuilder(); + + cloudquery.plugin.v3.PluginOuterClass.Sync.Response.MessageCase getMessageCase(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Sync.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.Response.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Response.Builder.class); + } + + private int messageCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object message_; + public enum MessageCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MIGRATE_TABLE(1), + INSERT(2), + MESSAGE_NOT_SET(0); + private final int value; + private MessageCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageCase valueOf(int value) { + return forNumber(value); + } + + public static MessageCase forNumber(int value) { + switch (value) { + case 1: return MIGRATE_TABLE; + case 2: return INSERT; + case 0: return MESSAGE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public static final int MIGRATE_TABLE_FIELD_NUMBER = 1; + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + @java.lang.Override + public boolean hasMigrateTable() { + return messageCase_ == 1; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getMigrateTable() { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder getMigrateTableOrBuilder() { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + + public static final int INSERT_FIELD_NUMBER = 2; + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + @java.lang.Override + public boolean hasInsert() { + return messageCase_ == 2; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return The insert. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getInsert() { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder getInsertOrBuilder() { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (messageCase_ == 1) { + output.writeMessage(1, (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_); + } + if (messageCase_ == 2) { + output.writeMessage(2, (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_); + } + if (messageCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync.Response other = (cloudquery.plugin.v3.PluginOuterClass.Sync.Response) obj; + + if (!getMessageCase().equals(other.getMessageCase())) return false; + switch (messageCase_) { + case 1: + if (!getMigrateTable() + .equals(other.getMigrateTable())) return false; + break; + case 2: + if (!getInsert() + .equals(other.getInsert())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (messageCase_) { + case 1: + hash = (37 * hash) + MIGRATE_TABLE_FIELD_NUMBER; + hash = (53 * hash) + getMigrateTable().hashCode(); + break; + case 2: + hash = (37 * hash) + INSERT_FIELD_NUMBER; + hash = (53 * hash) + getInsert().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync.Response) + cloudquery.plugin.v3.PluginOuterClass.Sync.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.Response.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (migrateTableBuilder_ != null) { + migrateTableBuilder_.clear(); + } + if (insertBuilder_ != null) { + insertBuilder_.clear(); + } + messageCase_ = 0; + message_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Response build() { + cloudquery.plugin.v3.PluginOuterClass.Sync.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync.Response result = new cloudquery.plugin.v3.PluginOuterClass.Sync.Response(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Sync.Response result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(cloudquery.plugin.v3.PluginOuterClass.Sync.Response result) { + result.messageCase_ = messageCase_; + result.message_ = this.message_; + if (messageCase_ == 1 && + migrateTableBuilder_ != null) { + result.message_ = migrateTableBuilder_.build(); + } + if (messageCase_ == 2 && + insertBuilder_ != null) { + result.message_ = insertBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.Response.getDefaultInstance()) return this; + switch (other.getMessageCase()) { + case MIGRATE_TABLE: { + mergeMigrateTable(other.getMigrateTable()); + break; + } + case INSERT: { + mergeInsert(other.getInsert()); + break; + } + case MESSAGE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMigrateTableFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getInsertFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int messageCase_ = 0; + private java.lang.Object message_; + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public Builder clearMessage() { + messageCase_ = 0; + message_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder> migrateTableBuilder_; + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + @java.lang.Override + public boolean hasMigrateTable() { + return messageCase_ == 1; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable getMigrateTable() { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } else { + if (messageCase_ == 1) { + return migrateTableBuilder_.getMessage(); + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + public Builder setMigrateTable(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable value) { + if (migrateTableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + migrateTableBuilder_.setMessage(value); + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + public Builder setMigrateTable( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder builderForValue) { + if (migrateTableBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + migrateTableBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + public Builder mergeMigrateTable(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable value) { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1 && + message_ != cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance()) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.newBuilder((cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 1) { + migrateTableBuilder_.mergeFrom(value); + } else { + migrateTableBuilder_.setMessage(value); + } + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + public Builder clearMigrateTable() { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + } + migrateTableBuilder_.clear(); + } + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder getMigrateTableBuilder() { + return getMigrateTableFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder getMigrateTableOrBuilder() { + if ((messageCase_ == 1) && (migrateTableBuilder_ != null)) { + return migrateTableBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Sync.MessageMigrateTable migrate_table = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder> + getMigrateTableFieldBuilder() { + if (migrateTableBuilder_ == null) { + if (!(messageCase_ == 1)) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.getDefaultInstance(); + } + migrateTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTableOrBuilder>( + (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageMigrateTable) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 1; + onChanged(); + return migrateTableBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder> insertBuilder_; + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + @java.lang.Override + public boolean hasInsert() { + return messageCase_ == 2; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + * @return The insert. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert getInsert() { + if (insertBuilder_ == null) { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } else { + if (messageCase_ == 2) { + return insertBuilder_.getMessage(); + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + public Builder setInsert(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert value) { + if (insertBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + insertBuilder_.setMessage(value); + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + public Builder setInsert( + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder builderForValue) { + if (insertBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + insertBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + public Builder mergeInsert(cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert value) { + if (insertBuilder_ == null) { + if (messageCase_ == 2 && + message_ != cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance()) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.newBuilder((cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 2) { + insertBuilder_.mergeFrom(value); + } else { + insertBuilder_.setMessage(value); + } + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + public Builder clearInsert() { + if (insertBuilder_ == null) { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + } + insertBuilder_.clear(); + } + return this; + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder getInsertBuilder() { + return getInsertFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder getInsertOrBuilder() { + if ((messageCase_ == 2) && (insertBuilder_ != null)) { + return insertBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Sync.MessageInsert insert = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder> + getInsertFieldBuilder() { + if (insertBuilder_ == null) { + if (!(messageCase_ == 2)) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.getDefaultInstance(); + } + insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsertOrBuilder>( + (cloudquery.plugin.v3.PluginOuterClass.Sync.MessageInsert) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 2; + onChanged(); + return insertBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Sync)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Sync other = (cloudquery.plugin.v3.PluginOuterClass.Sync) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Sync parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Sync prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Sync} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Sync) + cloudquery.plugin.v3.PluginOuterClass.SyncOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Sync.class, cloudquery.plugin.v3.PluginOuterClass.Sync.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Sync.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Sync_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Sync.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync build() { + cloudquery.plugin.v3.PluginOuterClass.Sync result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Sync result = new cloudquery.plugin.v3.PluginOuterClass.Sync(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Sync) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Sync)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Sync other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Sync.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Sync) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Sync) + private static final cloudquery.plugin.v3.PluginOuterClass.Sync DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Sync(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Sync getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Sync parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Sync getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReadOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Read) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read} + */ + public static final class Read extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Read) + ReadOrBuilder { + private static final long serialVersionUID = 0L; + // Use Read.newBuilder() to construct. + private Read(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Read() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Read(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.class, cloudquery.plugin.v3.PluginOuterClass.Read.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Read.Request) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + com.google.protobuf.ByteString getTable(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Read.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + table_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.Request.class, cloudquery.plugin.v3.PluginOuterClass.Read.Request.Builder.class); + } + + public static final int TABLE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!table_.isEmpty()) { + output.writeBytes(1, table_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!table_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, table_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Read.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Read.Request other = (cloudquery.plugin.v3.PluginOuterClass.Read.Request) obj; + + if (!getTable() + .equals(other.getTable())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Read.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Read.Request) + cloudquery.plugin.v3.PluginOuterClass.Read.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.Request.class, cloudquery.plugin.v3.PluginOuterClass.Read.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Read.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + table_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Read.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Request build() { + cloudquery.plugin.v3.PluginOuterClass.Read.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Read.Request result = new cloudquery.plugin.v3.PluginOuterClass.Read.Request(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Read.Request result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.table_ = table_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Read.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Read.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Read.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Read.Request.getDefaultInstance()) return this; + if (other.getTable() != com.google.protobuf.ByteString.EMPTY) { + setTable(other.getTable()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + table_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return This builder for chaining. + */ + public Builder clearTable() { + bitField0_ = (bitField0_ & ~0x00000001); + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Read.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Read.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.Read.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Read.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Read.Response) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + com.google.protobuf.ByteString getRecord(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Read.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + record_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.Response.class, cloudquery.plugin.v3.PluginOuterClass.Read.Response.Builder.class); + } + + public static final int RECORD_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!record_.isEmpty()) { + output.writeBytes(1, record_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!record_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, record_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Read.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Read.Response other = (cloudquery.plugin.v3.PluginOuterClass.Read.Response) obj; + + if (!getRecord() + .equals(other.getRecord())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RECORD_FIELD_NUMBER; + hash = (53 * hash) + getRecord().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Read.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Read.Response) + cloudquery.plugin.v3.PluginOuterClass.Read.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.Response.class, cloudquery.plugin.v3.PluginOuterClass.Read.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Read.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + record_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Read.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Response build() { + cloudquery.plugin.v3.PluginOuterClass.Read.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Read.Response result = new cloudquery.plugin.v3.PluginOuterClass.Read.Response(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Read.Response result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.record_ = record_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Read.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Read.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Read.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Read.Response.getDefaultInstance()) return this; + if (other.getRecord() != com.google.protobuf.ByteString.EMPTY) { + setRecord(other.getRecord()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + record_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @param value The record to set. + * @return This builder for chaining. + */ + public Builder setRecord(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + record_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return This builder for chaining. + */ + public Builder clearRecord() { + bitField0_ = (bitField0_ & ~0x00000001); + record_ = getDefaultInstance().getRecord(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Read.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Read.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.Read.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Read.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Read)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Read other = (cloudquery.plugin.v3.PluginOuterClass.Read) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Read parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Read prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Read} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Read) + cloudquery.plugin.v3.PluginOuterClass.ReadOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Read.class, cloudquery.plugin.v3.PluginOuterClass.Read.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Read.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Read_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Read.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read build() { + cloudquery.plugin.v3.PluginOuterClass.Read result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Read result = new cloudquery.plugin.v3.PluginOuterClass.Read(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Read) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Read)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Read other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Read.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Read) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Read) + private static final cloudquery.plugin.v3.PluginOuterClass.Read DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Read(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Read getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Read parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Read getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WriteOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write} + */ + public static final class Write extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write) + WriteOrBuilder { + private static final long serialVersionUID = 0L; + // Use Write.newBuilder() to construct. + private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Write() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Write(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.class, cloudquery.plugin.v3.PluginOuterClass.Write.Builder.class); + } + + public interface MessageMigrateTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write.MessageMigrateTable) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + com.google.protobuf.ByteString getTable(); + + /** + * bool migrate_force = 2; + * @return The migrateForce. + */ + boolean getMigrateForce(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageMigrateTable} + */ + public static final class MessageMigrateTable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write.MessageMigrateTable) + MessageMigrateTableOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageMigrateTable.newBuilder() to construct. + private MessageMigrateTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MessageMigrateTable() { + table_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MessageMigrateTable(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder.class); + } + + public static final int TABLE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + + public static final int MIGRATE_FORCE_FIELD_NUMBER = 2; + private boolean migrateForce_ = false; + /** + * bool migrate_force = 2; + * @return The migrateForce. + */ + @java.lang.Override + public boolean getMigrateForce() { + return migrateForce_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!table_.isEmpty()) { + output.writeBytes(1, table_); + } + if (migrateForce_ != false) { + output.writeBool(2, migrateForce_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!table_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, table_); + } + if (migrateForce_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, migrateForce_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable other = (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) obj; + + if (!getTable() + .equals(other.getTable())) return false; + if (getMigrateForce() + != other.getMigrateForce()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (37 * hash) + MIGRATE_FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMigrateForce()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageMigrateTable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write.MessageMigrateTable) + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + table_ = com.google.protobuf.ByteString.EMPTY; + migrateForce_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable build() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable result = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.table_ = table_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.migrateForce_ = migrateForce_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance()) return this; + if (other.getTable() != com.google.protobuf.ByteString.EMPTY) { + setTable(other.getTable()); + } + if (other.getMigrateForce() != false) { + setMigrateForce(other.getMigrateForce()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + table_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + migrateForce_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTable() { + return table_; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @param value The table to set. + * @return This builder for chaining. + */ + public Builder setTable(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1; + * @return This builder for chaining. + */ + public Builder clearTable() { + bitField0_ = (bitField0_ & ~0x00000001); + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + + private boolean migrateForce_ ; + /** + * bool migrate_force = 2; + * @return The migrateForce. + */ + @java.lang.Override + public boolean getMigrateForce() { + return migrateForce_; + } + /** + * bool migrate_force = 2; + * @param value The migrateForce to set. + * @return This builder for chaining. + */ + public Builder setMigrateForce(boolean value) { + + migrateForce_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool migrate_force = 2; + * @return This builder for chaining. + */ + public Builder clearMigrateForce() { + bitField0_ = (bitField0_ & ~0x00000002); + migrateForce_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write.MessageMigrateTable) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write.MessageMigrateTable) + private static final cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MessageMigrateTable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MessageInsertOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write.MessageInsert) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + com.google.protobuf.ByteString getRecord(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageInsert} + */ + public static final class MessageInsert extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write.MessageInsert) + MessageInsertOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageInsert.newBuilder() to construct. + private MessageInsert(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MessageInsert() { + record_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MessageInsert(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageInsert_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder.class); + } + + public static final int RECORD_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Record
+       * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!record_.isEmpty()) { + output.writeBytes(1, record_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!record_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, record_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert other = (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) obj; + + if (!getRecord() + .equals(other.getRecord())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RECORD_FIELD_NUMBER; + hash = (53 * hash) + getRecord().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageInsert} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write.MessageInsert) + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageInsert_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + record_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert build() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert result = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.record_ = record_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance()) return this; + if (other.getRecord() != com.google.protobuf.ByteString.EMPTY) { + setRecord(other.getRecord()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + record_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString record_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return The record. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRecord() { + return record_; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @param value The record to set. + * @return This builder for chaining. + */ + public Builder setRecord(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + record_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Record
+         * 
+ * + * bytes record = 1; + * @return This builder for chaining. + */ + public Builder clearRecord() { + bitField0_ = (bitField0_ & ~0x00000001); + record_ = getDefaultInstance().getRecord(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write.MessageInsert) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write.MessageInsert) + private static final cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MessageInsert parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MessageDeleteStaleOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write.MessageDeleteStale) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1 [deprecated = true]; + * @deprecated cloudquery.plugin.v3.Write.MessageDeleteStale.table is deprecated. + * See cloudquery/plugin/v3/plugin.proto;l=113 + * @return The table. + */ + @java.lang.Deprecated com.google.protobuf.ByteString getTable(); + + /** + * string source_name = 2; + * @return The sourceName. + */ + java.lang.String getSourceName(); + /** + * string source_name = 2; + * @return The bytes for sourceName. + */ + com.google.protobuf.ByteString + getSourceNameBytes(); + + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return Whether the syncTime field is set. + */ + boolean hasSyncTime(); + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return The syncTime. + */ + com.google.protobuf.Timestamp getSyncTime(); + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + com.google.protobuf.TimestampOrBuilder getSyncTimeOrBuilder(); + + /** + * string table_name = 4; + * @return The tableName. + */ + java.lang.String getTableName(); + /** + * string table_name = 4; + * @return The bytes for tableName. + */ + com.google.protobuf.ByteString + getTableNameBytes(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageDeleteStale} + */ + public static final class MessageDeleteStale extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write.MessageDeleteStale) + MessageDeleteStaleOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageDeleteStale.newBuilder() to construct. + private MessageDeleteStale(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MessageDeleteStale() { + table_ = com.google.protobuf.ByteString.EMPTY; + sourceName_ = ""; + tableName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MessageDeleteStale(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder.class); + } + + public static final int TABLE_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * marshalled arrow.Schema
+       * 
+ * + * bytes table = 1 [deprecated = true]; + * @deprecated cloudquery.plugin.v3.Write.MessageDeleteStale.table is deprecated. + * See cloudquery/plugin/v3/plugin.proto;l=113 + * @return The table. + */ + @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getTable() { + return table_; + } + + public static final int SOURCE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object sourceName_ = ""; + /** + * string source_name = 2; + * @return The sourceName. + */ + @java.lang.Override + public java.lang.String getSourceName() { + java.lang.Object ref = sourceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceName_ = s; + return s; + } + } + /** + * string source_name = 2; + * @return The bytes for sourceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceNameBytes() { + java.lang.Object ref = sourceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SYNC_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp syncTime_; + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return Whether the syncTime field is set. + */ + @java.lang.Override + public boolean hasSyncTime() { + return syncTime_ != null; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return The syncTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getSyncTime() { + return syncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : syncTime_; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getSyncTimeOrBuilder() { + return syncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : syncTime_; + } + + public static final int TABLE_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object tableName_ = ""; + /** + * string table_name = 4; + * @return The tableName. + */ + @java.lang.Override + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } + } + /** + * string table_name = 4; + * @return The bytes for tableName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!table_.isEmpty()) { + output.writeBytes(1, table_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceName_); + } + if (syncTime_ != null) { + output.writeMessage(3, getSyncTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tableName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!table_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, table_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceName_); + } + if (syncTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSyncTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tableName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale other = (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) obj; + + if (!getTable() + .equals(other.getTable())) return false; + if (!getSourceName() + .equals(other.getSourceName())) return false; + if (hasSyncTime() != other.hasSyncTime()) return false; + if (hasSyncTime()) { + if (!getSyncTime() + .equals(other.getSyncTime())) return false; + } + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + hash = (37 * hash) + SOURCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSourceName().hashCode(); + if (hasSyncTime()) { + hash = (37 * hash) + SYNC_TIME_FIELD_NUMBER; + hash = (53 * hash) + getSyncTime().hashCode(); + } + hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTableName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.MessageDeleteStale} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write.MessageDeleteStale) + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.class, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + table_ = com.google.protobuf.ByteString.EMPTY; + sourceName_ = ""; + syncTime_ = null; + if (syncTimeBuilder_ != null) { + syncTimeBuilder_.dispose(); + syncTimeBuilder_ = null; + } + tableName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale build() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale result = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.table_ = table_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceName_ = sourceName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.syncTime_ = syncTimeBuilder_ == null + ? syncTime_ + : syncTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.tableName_ = tableName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance()) return this; + if (other.getTable() != com.google.protobuf.ByteString.EMPTY) { + setTable(other.getTable()); + } + if (!other.getSourceName().isEmpty()) { + sourceName_ = other.sourceName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasSyncTime()) { + mergeSyncTime(other.getSyncTime()); + } + if (!other.getTableName().isEmpty()) { + tableName_ = other.tableName_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + table_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getSyncTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString table_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1 [deprecated = true]; + * @deprecated cloudquery.plugin.v3.Write.MessageDeleteStale.table is deprecated. + * See cloudquery/plugin/v3/plugin.proto;l=113 + * @return The table. + */ + @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getTable() { + return table_; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1 [deprecated = true]; + * @deprecated cloudquery.plugin.v3.Write.MessageDeleteStale.table is deprecated. + * See cloudquery/plugin/v3/plugin.proto;l=113 + * @param value The table to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder setTable(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + table_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * marshalled arrow.Schema
+         * 
+ * + * bytes table = 1 [deprecated = true]; + * @deprecated cloudquery.plugin.v3.Write.MessageDeleteStale.table is deprecated. + * See cloudquery/plugin/v3/plugin.proto;l=113 + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder clearTable() { + bitField0_ = (bitField0_ & ~0x00000001); + table_ = getDefaultInstance().getTable(); + onChanged(); + return this; + } + + private java.lang.Object sourceName_ = ""; + /** + * string source_name = 2; + * @return The sourceName. + */ + public java.lang.String getSourceName() { + java.lang.Object ref = sourceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string source_name = 2; + * @return The bytes for sourceName. + */ + public com.google.protobuf.ByteString + getSourceNameBytes() { + java.lang.Object ref = sourceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string source_name = 2; + * @param value The sourceName to set. + * @return This builder for chaining. + */ + public Builder setSourceName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + sourceName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string source_name = 2; + * @return This builder for chaining. + */ + public Builder clearSourceName() { + sourceName_ = getDefaultInstance().getSourceName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string source_name = 2; + * @param value The bytes for sourceName to set. + * @return This builder for chaining. + */ + public Builder setSourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + sourceName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp syncTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> syncTimeBuilder_; + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return Whether the syncTime field is set. + */ + public boolean hasSyncTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .google.protobuf.Timestamp sync_time = 3; + * @return The syncTime. + */ + public com.google.protobuf.Timestamp getSyncTime() { + if (syncTimeBuilder_ == null) { + return syncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : syncTime_; + } else { + return syncTimeBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public Builder setSyncTime(com.google.protobuf.Timestamp value) { + if (syncTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + syncTime_ = value; + } else { + syncTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public Builder setSyncTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (syncTimeBuilder_ == null) { + syncTime_ = builderForValue.build(); + } else { + syncTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public Builder mergeSyncTime(com.google.protobuf.Timestamp value) { + if (syncTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + syncTime_ != null && + syncTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getSyncTimeBuilder().mergeFrom(value); + } else { + syncTime_ = value; + } + } else { + syncTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public Builder clearSyncTime() { + bitField0_ = (bitField0_ & ~0x00000004); + syncTime_ = null; + if (syncTimeBuilder_ != null) { + syncTimeBuilder_.dispose(); + syncTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public com.google.protobuf.Timestamp.Builder getSyncTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSyncTimeFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + public com.google.protobuf.TimestampOrBuilder getSyncTimeOrBuilder() { + if (syncTimeBuilder_ != null) { + return syncTimeBuilder_.getMessageOrBuilder(); + } else { + return syncTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : syncTime_; + } + } + /** + * .google.protobuf.Timestamp sync_time = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getSyncTimeFieldBuilder() { + if (syncTimeBuilder_ == null) { + syncTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getSyncTime(), + getParentForChildren(), + isClean()); + syncTime_ = null; + } + return syncTimeBuilder_; + } + + private java.lang.Object tableName_ = ""; + /** + * string table_name = 4; + * @return The tableName. + */ + public java.lang.String getTableName() { + java.lang.Object ref = tableName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tableName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string table_name = 4; + * @return The bytes for tableName. + */ + public com.google.protobuf.ByteString + getTableNameBytes() { + java.lang.Object ref = tableName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tableName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string table_name = 4; + * @param value The tableName to set. + * @return This builder for chaining. + */ + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tableName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string table_name = 4; + * @return This builder for chaining. + */ + public Builder clearTableName() { + tableName_ = getDefaultInstance().getTableName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string table_name = 4; + * @param value The bytes for tableName to set. + * @return This builder for chaining. + */ + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tableName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write.MessageDeleteStale) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write.MessageDeleteStale) + private static final cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MessageDeleteStale parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write.Request) + com.google.protobuf.MessageOrBuilder { + + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + boolean hasMigrateTable(); + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getMigrateTable(); + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder getMigrateTableOrBuilder(); + + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + boolean hasInsert(); + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return The insert. + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getInsert(); + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder getInsertOrBuilder(); + + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return Whether the delete field is set. + */ + boolean hasDelete(); + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return The delete. + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDelete(); + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder getDeleteOrBuilder(); + + cloudquery.plugin.v3.PluginOuterClass.Write.Request.MessageCase getMessageCase(); + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.Request.class, cloudquery.plugin.v3.PluginOuterClass.Write.Request.Builder.class); + } + + private int messageCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object message_; + public enum MessageCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MIGRATE_TABLE(1), + INSERT(2), + DELETE(3), + MESSAGE_NOT_SET(0); + private final int value; + private MessageCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageCase valueOf(int value) { + return forNumber(value); + } + + public static MessageCase forNumber(int value) { + switch (value) { + case 1: return MIGRATE_TABLE; + case 2: return INSERT; + case 3: return DELETE; + case 0: return MESSAGE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public static final int MIGRATE_TABLE_FIELD_NUMBER = 1; + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + @java.lang.Override + public boolean hasMigrateTable() { + return messageCase_ == 1; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getMigrateTable() { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder getMigrateTableOrBuilder() { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + + public static final int INSERT_FIELD_NUMBER = 2; + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + @java.lang.Override + public boolean hasInsert() { + return messageCase_ == 2; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return The insert. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getInsert() { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder getInsertOrBuilder() { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + + public static final int DELETE_FIELD_NUMBER = 3; + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return Whether the delete field is set. + */ + @java.lang.Override + public boolean hasDelete() { + return messageCase_ == 3; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return The delete. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDelete() { + if (messageCase_ == 3) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder getDeleteOrBuilder() { + if (messageCase_ == 3) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (messageCase_ == 1) { + output.writeMessage(1, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_); + } + if (messageCase_ == 2) { + output.writeMessage(2, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_); + } + if (messageCase_ == 3) { + output.writeMessage(3, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_); + } + if (messageCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_); + } + if (messageCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write.Request other = (cloudquery.plugin.v3.PluginOuterClass.Write.Request) obj; + + if (!getMessageCase().equals(other.getMessageCase())) return false; + switch (messageCase_) { + case 1: + if (!getMigrateTable() + .equals(other.getMigrateTable())) return false; + break; + case 2: + if (!getInsert() + .equals(other.getInsert())) return false; + break; + case 3: + if (!getDelete() + .equals(other.getDelete())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (messageCase_) { + case 1: + hash = (37 * hash) + MIGRATE_TABLE_FIELD_NUMBER; + hash = (53 * hash) + getMigrateTable().hashCode(); + break; + case 2: + hash = (37 * hash) + INSERT_FIELD_NUMBER; + hash = (53 * hash) + getInsert().hashCode(); + break; + case 3: + hash = (37 * hash) + DELETE_FIELD_NUMBER; + hash = (53 * hash) + getDelete().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write.Request) + cloudquery.plugin.v3.PluginOuterClass.Write.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.Request.class, cloudquery.plugin.v3.PluginOuterClass.Write.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (migrateTableBuilder_ != null) { + migrateTableBuilder_.clear(); + } + if (insertBuilder_ != null) { + insertBuilder_.clear(); + } + if (deleteBuilder_ != null) { + deleteBuilder_.clear(); + } + messageCase_ = 0; + message_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Request build() { + cloudquery.plugin.v3.PluginOuterClass.Write.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write.Request result = new cloudquery.plugin.v3.PluginOuterClass.Write.Request(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(cloudquery.plugin.v3.PluginOuterClass.Write.Request result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(cloudquery.plugin.v3.PluginOuterClass.Write.Request result) { + result.messageCase_ = messageCase_; + result.message_ = this.message_; + if (messageCase_ == 1 && + migrateTableBuilder_ != null) { + result.message_ = migrateTableBuilder_.build(); + } + if (messageCase_ == 2 && + insertBuilder_ != null) { + result.message_ = insertBuilder_.build(); + } + if (messageCase_ == 3 && + deleteBuilder_ != null) { + result.message_ = deleteBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.Request.getDefaultInstance()) return this; + switch (other.getMessageCase()) { + case MIGRATE_TABLE: { + mergeMigrateTable(other.getMigrateTable()); + break; + } + case INSERT: { + mergeInsert(other.getInsert()); + break; + } + case DELETE: { + mergeDelete(other.getDelete()); + break; + } + case MESSAGE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMigrateTableFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getInsertFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDeleteFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int messageCase_ = 0; + private java.lang.Object message_; + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public Builder clearMessage() { + messageCase_ = 0; + message_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder> migrateTableBuilder_; + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return Whether the migrateTable field is set. + */ + @java.lang.Override + public boolean hasMigrateTable() { + return messageCase_ == 1; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + * @return The migrateTable. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable getMigrateTable() { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } else { + if (messageCase_ == 1) { + return migrateTableBuilder_.getMessage(); + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + public Builder setMigrateTable(cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable value) { + if (migrateTableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + migrateTableBuilder_.setMessage(value); + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + public Builder setMigrateTable( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder builderForValue) { + if (migrateTableBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + migrateTableBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + public Builder mergeMigrateTable(cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable value) { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1 && + message_ != cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance()) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.newBuilder((cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 1) { + migrateTableBuilder_.mergeFrom(value); + } else { + migrateTableBuilder_.setMessage(value); + } + } + messageCase_ = 1; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + public Builder clearMigrateTable() { + if (migrateTableBuilder_ == null) { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 1) { + messageCase_ = 0; + message_ = null; + } + migrateTableBuilder_.clear(); + } + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder getMigrateTableBuilder() { + return getMigrateTableFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder getMigrateTableOrBuilder() { + if ((messageCase_ == 1) && (migrateTableBuilder_ != null)) { + return migrateTableBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 1) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageMigrateTable migrate_table = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder> + getMigrateTableFieldBuilder() { + if (migrateTableBuilder_ == null) { + if (!(messageCase_ == 1)) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.getDefaultInstance(); + } + migrateTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTableOrBuilder>( + (cloudquery.plugin.v3.PluginOuterClass.Write.MessageMigrateTable) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 1; + onChanged(); + return migrateTableBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder> insertBuilder_; + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return Whether the insert field is set. + */ + @java.lang.Override + public boolean hasInsert() { + return messageCase_ == 2; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + * @return The insert. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert getInsert() { + if (insertBuilder_ == null) { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } else { + if (messageCase_ == 2) { + return insertBuilder_.getMessage(); + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + public Builder setInsert(cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert value) { + if (insertBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + insertBuilder_.setMessage(value); + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + public Builder setInsert( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder builderForValue) { + if (insertBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + insertBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + public Builder mergeInsert(cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert value) { + if (insertBuilder_ == null) { + if (messageCase_ == 2 && + message_ != cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance()) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.newBuilder((cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 2) { + insertBuilder_.mergeFrom(value); + } else { + insertBuilder_.setMessage(value); + } + } + messageCase_ = 2; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + public Builder clearInsert() { + if (insertBuilder_ == null) { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + } + insertBuilder_.clear(); + } + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder getInsertBuilder() { + return getInsertFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder getInsertOrBuilder() { + if ((messageCase_ == 2) && (insertBuilder_ != null)) { + return insertBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 2) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageInsert insert = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder> + getInsertFieldBuilder() { + if (insertBuilder_ == null) { + if (!(messageCase_ == 2)) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.getDefaultInstance(); + } + insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsertOrBuilder>( + (cloudquery.plugin.v3.PluginOuterClass.Write.MessageInsert) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 2; + onChanged(); + return insertBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder> deleteBuilder_; + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return Whether the delete field is set. + */ + @java.lang.Override + public boolean hasDelete() { + return messageCase_ == 3; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + * @return The delete. + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale getDelete() { + if (deleteBuilder_ == null) { + if (messageCase_ == 3) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } else { + if (messageCase_ == 3) { + return deleteBuilder_.getMessage(); + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + public Builder setDelete(cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale value) { + if (deleteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + deleteBuilder_.setMessage(value); + } + messageCase_ = 3; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + public Builder setDelete( + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder builderForValue) { + if (deleteBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + deleteBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 3; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + public Builder mergeDelete(cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale value) { + if (deleteBuilder_ == null) { + if (messageCase_ == 3 && + message_ != cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance()) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.newBuilder((cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 3) { + deleteBuilder_.mergeFrom(value); + } else { + deleteBuilder_.setMessage(value); + } + } + messageCase_ = 3; + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + public Builder clearDelete() { + if (deleteBuilder_ == null) { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + } + deleteBuilder_.clear(); + } + return this; + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder getDeleteBuilder() { + return getDeleteFieldBuilder().getBuilder(); + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder getDeleteOrBuilder() { + if ((messageCase_ == 3) && (deleteBuilder_ != null)) { + return deleteBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 3) { + return (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_; + } + return cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + } + /** + * .cloudquery.plugin.v3.Write.MessageDeleteStale delete = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder> + getDeleteFieldBuilder() { + if (deleteBuilder_ == null) { + if (!(messageCase_ == 3)) { + message_ = cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.getDefaultInstance(); + } + deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale.Builder, cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStaleOrBuilder>( + (cloudquery.plugin.v3.PluginOuterClass.Write.MessageDeleteStale) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 3; + onChanged(); + return deleteBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.Write.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Write.Response) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Write.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.Response.class, cloudquery.plugin.v3.PluginOuterClass.Write.Response.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write.Response other = (cloudquery.plugin.v3.PluginOuterClass.Write.Response) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write.Response) + cloudquery.plugin.v3.PluginOuterClass.Write.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.Response.class, cloudquery.plugin.v3.PluginOuterClass.Write.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Response build() { + cloudquery.plugin.v3.PluginOuterClass.Write.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write.Response result = new cloudquery.plugin.v3.PluginOuterClass.Write.Response(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.Response.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.Write.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Write)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Write other = (cloudquery.plugin.v3.PluginOuterClass.Write) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Write parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Write prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Write} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Write) + cloudquery.plugin.v3.PluginOuterClass.WriteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Write.class, cloudquery.plugin.v3.PluginOuterClass.Write.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Write.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Write_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Write.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write build() { + cloudquery.plugin.v3.PluginOuterClass.Write result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Write result = new cloudquery.plugin.v3.PluginOuterClass.Write(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Write) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Write)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Write other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Write.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Write) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Write) + private static final cloudquery.plugin.v3.PluginOuterClass.Write DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Write(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Write getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Write parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Write getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CloseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Close) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close} + */ + public static final class Close extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Close) + CloseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Close.newBuilder() to construct. + private Close(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Close() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Close(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.class, cloudquery.plugin.v3.PluginOuterClass.Close.Builder.class); + } + + public interface RequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Close.Request) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close.Request} + */ + public static final class Request extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Close.Request) + RequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use Request.newBuilder() to construct. + private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Request() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Request(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.Request.class, cloudquery.plugin.v3.PluginOuterClass.Close.Request.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Close.Request)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Close.Request other = (cloudquery.plugin.v3.PluginOuterClass.Close.Request) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Close.Request prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close.Request} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Close.Request) + cloudquery.plugin.v3.PluginOuterClass.Close.RequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Request_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Request_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.Request.class, cloudquery.plugin.v3.PluginOuterClass.Close.Request.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Close.Request.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Request_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Request getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Close.Request.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Request build() { + cloudquery.plugin.v3.PluginOuterClass.Close.Request result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Request buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Close.Request result = new cloudquery.plugin.v3.PluginOuterClass.Close.Request(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Close.Request) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Close.Request)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Close.Request other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Close.Request.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Close.Request) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Close.Request) + private static final cloudquery.plugin.v3.PluginOuterClass.Close.Request DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Close.Request(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close.Request getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Request parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Request getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:cloudquery.plugin.v3.Close.Response) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close.Response} + */ + public static final class Response extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:cloudquery.plugin.v3.Close.Response) + ResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use Response.newBuilder() to construct. + private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Response() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Response(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.Response.class, cloudquery.plugin.v3.PluginOuterClass.Close.Response.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Close.Response)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Close.Response other = (cloudquery.plugin.v3.PluginOuterClass.Close.Response) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Close.Response prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close.Response} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Close.Response) + cloudquery.plugin.v3.PluginOuterClass.Close.ResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Response_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Response_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.Response.class, cloudquery.plugin.v3.PluginOuterClass.Close.Response.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Close.Response.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_Response_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Response getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Close.Response.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Response build() { + cloudquery.plugin.v3.PluginOuterClass.Close.Response result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Response buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Close.Response result = new cloudquery.plugin.v3.PluginOuterClass.Close.Response(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Close.Response) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Close.Response)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Close.Response other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Close.Response.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Close.Response) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Close.Response) + private static final cloudquery.plugin.v3.PluginOuterClass.Close.Response DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Close.Response(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close.Response getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Response parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close.Response getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof cloudquery.plugin.v3.PluginOuterClass.Close)) { + return super.equals(obj); + } + cloudquery.plugin.v3.PluginOuterClass.Close other = (cloudquery.plugin.v3.PluginOuterClass.Close) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static cloudquery.plugin.v3.PluginOuterClass.Close parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(cloudquery.plugin.v3.PluginOuterClass.Close prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code cloudquery.plugin.v3.Close} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:cloudquery.plugin.v3.Close) + cloudquery.plugin.v3.PluginOuterClass.CloseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_fieldAccessorTable + .ensureFieldAccessorsInitialized( + cloudquery.plugin.v3.PluginOuterClass.Close.class, cloudquery.plugin.v3.PluginOuterClass.Close.Builder.class); + } + + // Construct using cloudquery.plugin.v3.PluginOuterClass.Close.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return cloudquery.plugin.v3.PluginOuterClass.internal_static_cloudquery_plugin_v3_Close_descriptor; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close getDefaultInstanceForType() { + return cloudquery.plugin.v3.PluginOuterClass.Close.getDefaultInstance(); + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close build() { + cloudquery.plugin.v3.PluginOuterClass.Close result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close buildPartial() { + cloudquery.plugin.v3.PluginOuterClass.Close result = new cloudquery.plugin.v3.PluginOuterClass.Close(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof cloudquery.plugin.v3.PluginOuterClass.Close) { + return mergeFrom((cloudquery.plugin.v3.PluginOuterClass.Close)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(cloudquery.plugin.v3.PluginOuterClass.Close other) { + if (other == cloudquery.plugin.v3.PluginOuterClass.Close.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:cloudquery.plugin.v3.Close) + } + + // @@protoc_insertion_point(class_scope:cloudquery.plugin.v3.Close) + private static final cloudquery.plugin.v3.PluginOuterClass.Close DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new cloudquery.plugin.v3.PluginOuterClass.Close(); + } + + public static cloudquery.plugin.v3.PluginOuterClass.Close getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Close parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public cloudquery.plugin.v3.PluginOuterClass.Close getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetName_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetName_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetName_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetName_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetName_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetName_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetVersion_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetVersion_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetVersion_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetVersion_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Init_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Init_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Init_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Init_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Init_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Init_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetTables_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetTables_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetTables_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_GetTables_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_MessageInsert_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_BackendOptions_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Sync_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Sync_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Read_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Read_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Read_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Read_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Read_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Read_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_MessageInsert_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Write_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Write_Response_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Close_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Close_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Close_Request_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Close_Request_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_cloudquery_plugin_v3_Close_Response_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_cloudquery_plugin_v3_Close_Response_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n!cloudquery/plugin/v3/plugin.proto\022\024clo" + + "udquery.plugin.v3\032\037google/protobuf/times" + + "tamp.proto\".\n\007GetName\032\t\n\007Request\032\030\n\010Resp" + + "onse\022\014\n\004name\030\001 \001(\t\"4\n\nGetVersion\032\t\n\007Requ" + + "est\032\033\n\010Response\022\017\n\007version\030\001 \001(\t\"B\n\004Init" + + "\032.\n\007Request\022\014\n\004spec\030\001 \001(\014\022\025\n\rno_connecti" + + "on\030\002 \001(\010\032\n\n\010Response\"W\n\tGetTables\032.\n\007Req" + + "uest\022\016\n\006tables\030\001 \003(\t\022\023\n\013skip_tables\030\002 \003(" + + "\t\032\032\n\010Response\022\016\n\006tables\030\001 \003(\014\"\315\003\n\004Sync\032\037" + + "\n\rMessageInsert\022\016\n\006record\030\001 \001(\014\032$\n\023Messa" + + "geMigrateTable\022\r\n\005table\030\001 \001(\014\0328\n\016Backend" + + "Options\022\022\n\ntable_name\030\001 \001(\t\022\022\n\nconnectio" + + "n\030\002 \001(\t\032\246\001\n\007Request\022\016\n\006tables\030\001 \003(\t\022\023\n\013s" + + "kip_tables\030\002 \003(\t\022\035\n\025skip_dependent_table" + + "s\030\003 \001(\010\022\033\n\023deterministic_cq_id\030\004 \001(\010\022:\n\007" + + "backend\030\005 \001(\0132).cloudquery.plugin.v3.Syn" + + "c.BackendOptions\032\232\001\n\010Response\022G\n\rmigrate" + + "_table\030\001 \001(\0132..cloudquery.plugin.v3.Sync" + + ".MessageMigrateTableH\000\022:\n\006insert\030\002 \001(\0132(" + + ".cloudquery.plugin.v3.Sync.MessageInsert" + + "H\000B\t\n\007message\"<\n\004Read\032\030\n\007Request\022\r\n\005tabl" + + "e\030\001 \001(\014\032\032\n\010Response\022\016\n\006record\030\001 \001(\014\"\322\003\n\005" + + "Write\032;\n\023MessageMigrateTable\022\r\n\005table\030\001 " + + "\001(\014\022\025\n\rmigrate_force\030\002 \001(\010\032\037\n\rMessageIns" + + "ert\022\016\n\006record\030\001 \001(\014\032\177\n\022MessageDeleteStal" + + "e\022\021\n\005table\030\001 \001(\014B\002\030\001\022\023\n\013source_name\030\002 \001(" + + "\t\022-\n\tsync_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestamp\022\022\n\ntable_name\030\004 \001(\t\032\335\001\n\007Request" + + "\022H\n\rmigrate_table\030\001 \001(\0132/.cloudquery.plu" + + "gin.v3.Write.MessageMigrateTableH\000\022;\n\006in" + + "sert\030\002 \001(\0132).cloudquery.plugin.v3.Write." + + "MessageInsertH\000\022@\n\006delete\030\003 \001(\0132..cloudq" + + "uery.plugin.v3.Write.MessageDeleteStaleH" + + "\000B\t\n\007message\032\n\n\010Response\"\036\n\005Close\032\t\n\007Req" + + "uest\032\n\n\010Response2\306\005\n\006Plugin\022X\n\007GetName\022%" + + ".cloudquery.plugin.v3.GetName.Request\032&." + + "cloudquery.plugin.v3.GetName.Response\022a\n" + + "\nGetVersion\022(.cloudquery.plugin.v3.GetVe" + + "rsion.Request\032).cloudquery.plugin.v3.Get" + + "Version.Response\022O\n\004Init\022\".cloudquery.pl" + + "ugin.v3.Init.Request\032#.cloudquery.plugin" + + ".v3.Init.Response\022^\n\tGetTables\022\'.cloudqu" + + "ery.plugin.v3.GetTables.Request\032(.cloudq" + + "uery.plugin.v3.GetTables.Response\022Q\n\004Syn" + + "c\022\".cloudquery.plugin.v3.Sync.Request\032#." + + "cloudquery.plugin.v3.Sync.Response0\001\022Q\n\004" + + "Read\022\".cloudquery.plugin.v3.Read.Request" + + "\032#.cloudquery.plugin.v3.Read.Response0\001\022" + + "T\n\005Write\022#.cloudquery.plugin.v3.Write.Re" + + "quest\032$.cloudquery.plugin.v3.Write.Respo" + + "nse(\001\022R\n\005Close\022#.cloudquery.plugin.v3.Cl" + + "ose.Request\032$.cloudquery.plugin.v3.Close" + + ".ResponseB8Z6github.amrom.workers.dev/cloudquery/plugi" + + "n-pb-go/pb/plugin/v3;pluginb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_cloudquery_plugin_v3_GetName_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_cloudquery_plugin_v3_GetName_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetName_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetName_Request_descriptor = + internal_static_cloudquery_plugin_v3_GetName_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_GetName_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetName_Request_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetName_Response_descriptor = + internal_static_cloudquery_plugin_v3_GetName_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_GetName_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetName_Response_descriptor, + new java.lang.String[] { "Name", }); + internal_static_cloudquery_plugin_v3_GetVersion_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_cloudquery_plugin_v3_GetVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetVersion_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor = + internal_static_cloudquery_plugin_v3_GetVersion_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_GetVersion_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetVersion_Request_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor = + internal_static_cloudquery_plugin_v3_GetVersion_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_GetVersion_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetVersion_Response_descriptor, + new java.lang.String[] { "Version", }); + internal_static_cloudquery_plugin_v3_Init_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_cloudquery_plugin_v3_Init_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Init_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Init_Request_descriptor = + internal_static_cloudquery_plugin_v3_Init_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_Init_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Init_Request_descriptor, + new java.lang.String[] { "Spec", "NoConnection", }); + internal_static_cloudquery_plugin_v3_Init_Response_descriptor = + internal_static_cloudquery_plugin_v3_Init_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_Init_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Init_Response_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetTables_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_cloudquery_plugin_v3_GetTables_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetTables_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor = + internal_static_cloudquery_plugin_v3_GetTables_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_GetTables_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetTables_Request_descriptor, + new java.lang.String[] { "Tables", "SkipTables", }); + internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor = + internal_static_cloudquery_plugin_v3_GetTables_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_GetTables_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_GetTables_Response_descriptor, + new java.lang.String[] { "Tables", }); + internal_static_cloudquery_plugin_v3_Sync_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_cloudquery_plugin_v3_Sync_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor = + internal_static_cloudquery_plugin_v3_Sync_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_Sync_MessageInsert_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_MessageInsert_descriptor, + new java.lang.String[] { "Record", }); + internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor = + internal_static_cloudquery_plugin_v3_Sync_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_MessageMigrateTable_descriptor, + new java.lang.String[] { "Table", }); + internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor = + internal_static_cloudquery_plugin_v3_Sync_descriptor.getNestedTypes().get(2); + internal_static_cloudquery_plugin_v3_Sync_BackendOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_BackendOptions_descriptor, + new java.lang.String[] { "TableName", "Connection", }); + internal_static_cloudquery_plugin_v3_Sync_Request_descriptor = + internal_static_cloudquery_plugin_v3_Sync_descriptor.getNestedTypes().get(3); + internal_static_cloudquery_plugin_v3_Sync_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_Request_descriptor, + new java.lang.String[] { "Tables", "SkipTables", "SkipDependentTables", "DeterministicCqId", "Backend", }); + internal_static_cloudquery_plugin_v3_Sync_Response_descriptor = + internal_static_cloudquery_plugin_v3_Sync_descriptor.getNestedTypes().get(4); + internal_static_cloudquery_plugin_v3_Sync_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Sync_Response_descriptor, + new java.lang.String[] { "MigrateTable", "Insert", "Message", }); + internal_static_cloudquery_plugin_v3_Read_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_cloudquery_plugin_v3_Read_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Read_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Read_Request_descriptor = + internal_static_cloudquery_plugin_v3_Read_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_Read_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Read_Request_descriptor, + new java.lang.String[] { "Table", }); + internal_static_cloudquery_plugin_v3_Read_Response_descriptor = + internal_static_cloudquery_plugin_v3_Read_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_Read_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Read_Response_descriptor, + new java.lang.String[] { "Record", }); + internal_static_cloudquery_plugin_v3_Write_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_cloudquery_plugin_v3_Write_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor = + internal_static_cloudquery_plugin_v3_Write_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_MessageMigrateTable_descriptor, + new java.lang.String[] { "Table", "MigrateForce", }); + internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor = + internal_static_cloudquery_plugin_v3_Write_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_Write_MessageInsert_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_MessageInsert_descriptor, + new java.lang.String[] { "Record", }); + internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor = + internal_static_cloudquery_plugin_v3_Write_descriptor.getNestedTypes().get(2); + internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_MessageDeleteStale_descriptor, + new java.lang.String[] { "Table", "SourceName", "SyncTime", "TableName", }); + internal_static_cloudquery_plugin_v3_Write_Request_descriptor = + internal_static_cloudquery_plugin_v3_Write_descriptor.getNestedTypes().get(3); + internal_static_cloudquery_plugin_v3_Write_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_Request_descriptor, + new java.lang.String[] { "MigrateTable", "Insert", "Delete", "Message", }); + internal_static_cloudquery_plugin_v3_Write_Response_descriptor = + internal_static_cloudquery_plugin_v3_Write_descriptor.getNestedTypes().get(4); + internal_static_cloudquery_plugin_v3_Write_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Write_Response_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Close_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_cloudquery_plugin_v3_Close_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Close_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Close_Request_descriptor = + internal_static_cloudquery_plugin_v3_Close_descriptor.getNestedTypes().get(0); + internal_static_cloudquery_plugin_v3_Close_Request_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Close_Request_descriptor, + new java.lang.String[] { }); + internal_static_cloudquery_plugin_v3_Close_Response_descriptor = + internal_static_cloudquery_plugin_v3_Close_descriptor.getNestedTypes().get(1); + internal_static_cloudquery_plugin_v3_Close_Response_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_cloudquery_plugin_v3_Close_Response_descriptor, + new java.lang.String[] { }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +}